File was renamed from VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/HomeAdapter.java |
| | |
| | | * Created by zhangbo on 2017/2/15. |
| | | */ |
| | | |
| | | public class HomeAdapter extends EasyRecyclerViewAdapter { |
| | | public class SupervisoryAdapter extends EasyRecyclerViewAdapter { |
| | | private int TYPE_1 = 0,TYPE_2 = 1; |
| | | private int type; |
| | | private Context context; |
| | | private List list; |
| | | public HomeAdapter(Context context) { |
| | | public SupervisoryAdapter(Context context) { |
| | | this.context = context; |
| | | } |
| | | |
| | | @Override |
| | | public int[] getItemLayouts() { |
| | | return new int[]{R.layout.fragment_home_bottom_register_cell,R.layout.fragment_home_bottom_visitor_cell}; |
| | | return new int[]{R.layout.fragment_supervisory_bottom_register_cell,R.layout.fragment_supervisory_bottom_visitor_cell}; |
| | | } |
| | | |
| | | @Override |