package cn.com.basic.face.adapter; import android.widget.CheckBox; import com.bsk.zhangbo.demoforbsk.R; import com.camnter.easyrecyclerview.adapter.EasyRecyclerViewAdapter; import com.camnter.easyrecyclerview.holder.EasyRecyclerViewHolder; public class VisitFragment { public static class VisitLeftAdapter extends EasyRecyclerViewAdapter { @Override public int[] getItemLayouts() { return new int[]{R.layout.fragment_visit_left_date_row,R.layout.fragment_visit_left_person_row}; } @Override public void onBindRecycleViewHolder(EasyRecyclerViewHolder viewHolder, int position) { if(!(getItem(position) instanceof String)) { } else { } } @Override public int getRecycleViewItemType(int position) { if(!(getItem(position) instanceof String)) { return 1; } return 0; } } }