// Path: recyclerview/src/main/java/me/henrytao/recyclerview/config/Constants.java
// public class Constants {
// 
//   public enum Type {
//     HEADER, FOOTER
//   }
// }


import me.henrytao.recyclerview.config.Constants;
import me.henrytao.recyclerview.config.Visibility;
/*
 * Copyright 2016 "Henry Tao <hi@henrytao.me>"
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package me.henrytao.recyclerview.adapter;


/**
 * Created by henrytao on 8/16/15.
 */
public interface MultiStateAdapter {

  void addOnVisibilityChanged(OnVisibilityChangedListener onVisibilityChangedListener);

  @Visibility
  int getVisibility(int position);

  @Visibility
// Path: recyclerview/src/main/java/me/henrytao/recyclerview/config/Constants.java
// public class Constants {
// 
//   public enum Type {
//     HEADER, FOOTER
//   }
// }


// Path: recyclerview/src/main/java/me/henrytao/recyclerview/adapter/MultiStateAdapter.java
import me.henrytao.recyclerview.config.Constants;
import me.henrytao.recyclerview.config.Visibility;

/*
 * Copyright 2016 "Henry Tao <hi@henrytao.me>"
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *     http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

package me.henrytao.recyclerview.adapter;


/**
 * Created by henrytao on 8/16/15.
 */
public interface MultiStateAdapter {

  void addOnVisibilityChanged(OnVisibilityChangedListener onVisibilityChangedListener);

  @Visibility
  int getVisibility(int position);

  @Visibility
  int getVisibility(int index, Constants.Type type);