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()
62 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local63 gridLayoutManager.setSpanSizeLookup( in onCreateView()64 new HeaderSpanSizeLookup(gridLayoutManager.getSpanCount())); in onCreateView()
64 GridLayoutManager gridLayoutManager = (GridLayoutManager) mRecyclerView.getLayoutManager(); in onCreateView() local65 gridLayoutManager.setSpanSizeLookup( in onCreateView()66 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()
64 GridLayoutManager gridLayoutManager = new GridLayoutManager(mContext, in getGridLayoutManager() local66 gridLayoutManager.setSpanSizeLookup(mQsSpanSizeLookup); in getGridLayoutManager()67 return gridLayoutManager; in getGridLayoutManager()
103 final GridLayoutManager gridLayoutManager = (GridLayoutManager) layoutManager; in onAttachedToRecyclerView() local104 gridLayoutManager.setSpanSizeLookup(new GridLayoutManager.SpanSizeLookup() { in onAttachedToRecyclerView()
179 GridLayoutManager gridLayoutManager = new GridLayoutManager(this, mColumnNumber); in onCreate() local180 gridLayoutManager.setSpanSizeLookup(new SpanSizeLookup() { in onCreate()186 gridView.setLayoutManager(gridLayoutManager); in onCreate()
146 GridLayoutManager gridLayoutManager = new GridLayoutManager(getActivity(), in onCreateView() local148 gridLayoutManager.setSpanSizeLookup(new CategorySpanSizeLookup(mAdapter)); in onCreateView()149 mImageGrid.setLayoutManager(gridLayoutManager); in onCreateView()
593 GridLayoutManager gridLayoutManager = (GridLayoutManager) mImageGrid.getLayoutManager(); in maybeSetUpImageGrid() local595 gridLayoutManager != null && gridLayoutManager.getSpanCount() != getNumColumns(); in maybeSetUpImageGrid()