Searched refs:gridLayoutManager (Results 1 – 12 of 12) sorted by relevance
69 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local70 gridLayoutManager.setSpanSizeLookup(otherAdapter.getSpanSizeLookup()); in onCreateView()71 if (gridLayoutManager.getSpanCount() != SPAN_COUNT) { in onCreateView()73 ", found a span count of " + gridLayoutManager.getSpanCount() + "."); in onCreateView()
64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local65 gridLayoutManager.setSpanSizeLookup( in onCreateView()66 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
62 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local63 gridLayoutManager.setSpanSizeLookup( in onCreateView()64 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
65 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local66 gridLayoutManager.setSpanSizeLookup( in onCreateView()67 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
63 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local64 gridLayoutManager.setSpanSizeLookup( in onCreateView()65 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
70 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local71 gridLayoutManager.setSpanSizeLookup( in onCreateView()72 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
59 GridLayoutManager gridLayoutManager = new GridLayoutManager(mContext, in getGridLayoutManager() local61 gridLayoutManager.setSpanSizeLookup(mQsSpanSizeLookup); in getGridLayoutManager()62 return gridLayoutManager; in getGridLayoutManager()
161 GridLayoutManager gridLayoutManager = new GridLayoutManager(this, mColumnNumber); in onCreate() local162 gridLayoutManager.setSpanSizeLookup(new SpanSizeLookup() { in onCreate()168 gridView.setLayoutManager(gridLayoutManager); in onCreate()
103 final GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; in onAttachedToRecyclerView() local104 gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { in onAttachedToRecyclerView()
159 GridLayoutManager gridLayoutManager = new GridLayoutManager(getActivity(), getNumColumns()); in onCreateView() local160 gridLayoutManager.setSpanSizeLookup(new CategorySpanSizeLookup(mAdapter)); in onCreateView()161 mImageGrid.setLayoutManager(gridLayoutManager); in onCreateView()