File was renamed from VisitFace/DemoForBsk/app/src/main/java/cn/com/basic/face/adapter/SupervisoryAdapter.java |
| | |
| | | * Created by zhangbo on 2017/2/15. |
| | | */ |
| | | |
| | | public class SupervisoryAdapter extends EasyRecyclerViewAdapter { |
| | | public class SupervisoryBottomAdapter extends EasyRecyclerViewAdapter { |
| | | private int TYPE_1 = 0,TYPE_2 = 1; |
| | | private int type; |
| | | private Context context; |
| | | private List list; |
| | | public SupervisoryAdapter(Context context) { |
| | | public SupervisoryBottomAdapter(Context context) { |
| | | this.context = context; |
| | | } |
| | | |
| | |
| | | int recycleViewItemType = getRecycleViewItemType(position); |
| | | switch (recycleViewItemType){ |
| | | case 0: |
| | | |
| | | RegisterViewHolder(viewHolder,position); |
| | | break; |
| | | case 1: |
| | |
| | | }); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * 第二列用户情况 |
| | |
| | | } |
| | | } |
| | | |
| | | |
| | | // ImageView mSdv = holder.findViewById(R.id.item_user_bcg); |
| | | // ViewGroup.LayoutParams mSdvLayoutParams = mSdv.getLayoutParams(); |
| | | // mSdvLayoutParams.height = WindowsUtil.dip2px(context, 60); |
| | | // mSdvLayoutParams.width = WindowsUtil.dip2px(context, 60); |
| | | // mSdv.setLayoutParams(mSdvLayoutParams); |
| | | } |
| | | } |