// Path: app/src/main/java/com/liuguangqiang/idaily/entity/BaseEntity.java
// public class BaseEntity implements MultiItemEntity {
// 
//     @Override
//     public int getItemType() {
//         return 0;
//     }
// }


import androidx.databinding.BindingAdapter;
import com.liuguangqiang.idaily.R;
import com.liuguangqiang.idaily.entity.BaseEntity;
import com.liuguangqiang.support.widgets.recyclerview.SuperRecyclerView;
import com.liuguangqiang.support.widgets.recyclerview.adapter.AbsRVAdapter;
import java.util.List;
package com.liuguangqiang.idaily.utils.databinding;




/**
 * Custom binding for RecyclerView.
 * <p>
 * Created by Eric on 15/6/23.
 */
public class DBRecyclerView {

    public static int SHOW_FOOTER = 0;

    public static int HIDE_FOOTER = 1;

    @BindingAdapter({"adapter"})
    public static void bindAdapter(SuperRecyclerView recyclerView, AbsRVAdapter adapter) {
        recyclerView.setAdapter(adapter);
        recyclerView.setPageFooter(R.layout.layout_loading_footer);
    }

    @BindingAdapter({"data"})
// Path: app/src/main/java/com/liuguangqiang/idaily/entity/BaseEntity.java
// public class BaseEntity implements MultiItemEntity {
// 
//     @Override
//     public int getItemType() {
//         return 0;
//     }
// }


// Path: app/src/main/java/com/liuguangqiang/idaily/utils/databinding/DBRecyclerView.java
import androidx.databinding.BindingAdapter;
import com.liuguangqiang.idaily.R;
import com.liuguangqiang.idaily.entity.BaseEntity;
import com.liuguangqiang.support.widgets.recyclerview.SuperRecyclerView;
import com.liuguangqiang.support.widgets.recyclerview.adapter.AbsRVAdapter;
import java.util.List;

package com.liuguangqiang.idaily.utils.databinding;




/**
 * Custom binding for RecyclerView.
 * <p>
 * Created by Eric on 15/6/23.
 */
public class DBRecyclerView {

    public static int SHOW_FOOTER = 0;

    public static int HIDE_FOOTER = 1;

    @BindingAdapter({"adapter"})
    public static void bindAdapter(SuperRecyclerView recyclerView, AbsRVAdapter adapter) {
        recyclerView.setAdapter(adapter);
        recyclerView.setPageFooter(R.layout.layout_loading_footer);
    }

    @BindingAdapter({"data"})
    public static void bindData(SuperRecyclerView recyclerView, List<BaseEntity> data) {