| | |
| | | package cn.com.basic.face.widget.surveilance;
|
| | |
|
| | | import android.content.Context;
|
| | | import android.graphics.Color;
|
| | | import android.graphics.Rect;
|
| | | import android.os.Parcelable;
|
| | | import android.support.v7.widget.GridLayoutManager;
|
| | |
| | |
|
| | | public class SurveillancePhotoSelectListView extends EasyRecyclerView {
|
| | |
|
| | | private Parcelable recyclerViewState;
|
| | | public static Parcelable recyclerViewState;
|
| | | public static SurveillanceFragment.SurveillancePhotoSelectListViewAdapter mAdapter;
|
| | | public static List list = new ArrayList();
|
| | |
|
| | | private class SpaceItemDecoration extends ItemDecoration {
|
| | | @Override
|
| | |
| | | gridLayoutManager.setOrientation(LinearLayoutManager.HORIZONTAL);
|
| | | setLayoutManager(gridLayoutManager);
|
| | | }
|
| | |
|
| | | private SurveillanceFragment.SurveillancePhotoSelectListViewAdapter mAdapter;
|
| | | private List list = new ArrayList();
|
| | |
|
| | | public void setAdapter(Context context) {
|
| | | mAdapter = new SurveillanceFragment.SurveillancePhotoSelectListViewAdapter(context);
|