AutoFitGridLayoutManager
open class AutoFitGridLayoutManager(context: Context, itemSpacingPx: Int, gridItemMinimumWidthPx: Int) : GridListLayoutManager
Content copied to clipboard
A GridListLayoutManager that calculates number of columns in the layout depending on gridItemMinimumWidthPx size.
Parameters
context
The display context.
itemSpacingPx
The spacing between items in pixels.
gridItemMinimumWidthPx
The minimum width in pixels of a grid item, used to calculate the number of columns. Must be a positive value.
Constructors
Link copied to clipboard
fun AutoFitGridLayoutManager(context: Context, itemSpacingPx: Int, gridItemMinimumWidthPx: Int)
Content copied to clipboard
Inherited properties
Functions
Link copied to clipboard
open override fun onAdapterChanged(oldAdapter: RecyclerView.Adapter<*>?, newAdapter: RecyclerView.Adapter<*>?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onLayoutChildren(recycler: RecyclerView.Recycler, state: RecyclerView.State)
Content copied to clipboard
Inherited functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun attachView(@NonNull p0: View, p1: Int, p2: RecyclerView.LayoutParams)
Content copied to clipboard
Link copied to clipboard
open fun calculateExtraLayoutSpace(@NonNull p0: RecyclerView.State, @NonNull p1: IntArray)
Content copied to clipboard
Link copied to clipboard
open fun calculateItemDecorationsForChild(@NonNull p0: View, @NonNull p1: Rect)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun checkLayoutParams(p0: RecyclerView.LayoutParams): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun collectAdjacentPrefetchPositions(p0: Int, p1: Int, p2: RecyclerView.State, p3: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
Content copied to clipboard
Link copied to clipboard
open override fun collectInitialPrefetchPositions(p0: Int, p1: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
Content copied to clipboard
Link copied to clipboard
open override fun collectPrefetchPositionsForLayoutState(p0: RecyclerView.State, p1: LinearLayoutManager.LayoutState, p2: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
Content copied to clipboard
Link copied to clipboard
open override fun computeHorizontalScrollExtent(p0: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
open override fun computeHorizontalScrollOffset(p0: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
open override fun computeHorizontalScrollRange(p0: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun computeVerticalScrollExtent(p0: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
open override fun computeVerticalScrollOffset(p0: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
open override fun computeVerticalScrollRange(p0: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun detachAndScrapView(@NonNull p0: View, @NonNull p1: RecyclerView.Recycler)
Content copied to clipboard
Link copied to clipboard
open fun detachAndScrapViewAt(p0: Int, @NonNull p1: RecyclerView.Recycler)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun dispatchDetachedFromWindow(p0: RecyclerView, p1: RecyclerView.Recycler)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun fill(p0: RecyclerView.Recycler, p1: LinearLayoutManager.LayoutState, p2: RecyclerView.State, p3: Boolean): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun findFirstVisibleChildClosestToEnd(p0: Boolean, p1: Boolean): View
Content copied to clipboard
Link copied to clipboard
open fun findFirstVisibleChildClosestToStart(p0: Boolean, p1: Boolean): View
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun findOnePartiallyOrCompletelyInvisibleChild(p0: Int, p1: Int): View
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun findReferenceChild(p0: RecyclerView.Recycler, p1: RecyclerView.State, p2: Boolean, p3: Boolean): View
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun generateDefaultLayoutParams(): RecyclerView.LayoutParams
Content copied to clipboard
Link copied to clipboard
open override fun generateLayoutParams(p0: ViewGroup.LayoutParams): RecyclerView.LayoutParams
Content copied to clipboard
open override fun generateLayoutParams(p0: Context, p1: AttributeSet): RecyclerView.LayoutParams
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getColumnCountForAccessibility(p0: RecyclerView.Recycler, p1: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDecoratedBoundsWithMargins(@NonNull p0: View, @NonNull p1: Rect)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun getRowCountForAccessibility(p0: RecyclerView.Recycler, p1: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
open fun getSelectionModeForAccessibility(@NonNull p0: RecyclerView.Recycler, @NonNull p1: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun isLayoutHierarchical(@NonNull p0: RecyclerView.Recycler, @NonNull p1: RecyclerView.State): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun layoutChunk(p0: RecyclerView.Recycler, p1: RecyclerView.State, p2: LinearLayoutManager.LayoutState, p3: LinearLayoutManager.LayoutChunkResult)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onAddFocusables(@NonNull p0: RecyclerView, @NonNull p1: ArrayList<View>, p2: Int, p3: Int): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun onAnchorReady(p0: RecyclerView.Recycler, p1: RecyclerView.State, p2: LinearLayoutManager.AnchorInfo, p3: Int)
Content copied to clipboard
Link copied to clipboard
open override fun onDetachedFromWindow(view: RecyclerView?, recycler: RecyclerView.Recycler?)
Content copied to clipboard
Link copied to clipboard
open override fun onFocusSearchFailed(p0: View, p1: Int, p2: RecyclerView.Recycler, p3: RecyclerView.State): View?
Content copied to clipboard
Link copied to clipboard
open fun onInitializeAccessibilityEvent(@NonNull p0: RecyclerView.Recycler, @NonNull p1: RecyclerView.State, @NonNull p2: AccessibilityEvent)
Content copied to clipboard
Link copied to clipboard
open fun onInitializeAccessibilityNodeInfo(p0: AccessibilityNodeInfoCompat)
Content copied to clipboard
open fun onInitializeAccessibilityNodeInfo(@NonNull p0: RecyclerView.Recycler, @NonNull p1: RecyclerView.State, @NonNull p2: AccessibilityNodeInfoCompat)
Content copied to clipboard
Link copied to clipboard
open fun onInitializeAccessibilityNodeInfoForItem(p0: View, p1: AccessibilityNodeInfoCompat)
Content copied to clipboard
open override fun onInitializeAccessibilityNodeInfoForItem(p0: RecyclerView.Recycler, p1: RecyclerView.State, p2: View, p3: AccessibilityNodeInfoCompat)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onItemsMoved(p0: RecyclerView, p1: Int, p2: Int, p3: Int)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun onItemsUpdated(p0: RecyclerView, p1: Int, p2: Int, p3: Any?)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onMeasure(@NonNull p0: RecyclerView.Recycler, @NonNull p1: RecyclerView.State, p2: Int, p3: Int)
Content copied to clipboard
Link copied to clipboard
Content copied to clipboard
open fun onRequestChildFocus(@NonNull p0: RecyclerView, @NonNull p1: RecyclerView.State, @NonNull p2: View, @Nullable p3: View?): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun performAccessibilityAction(p0: Int, @Nullable p1: Bundle?): Boolean
Content copied to clipboard
open fun performAccessibilityAction(@NonNull p0: RecyclerView.Recycler, @NonNull p1: RecyclerView.State, p2: Int, @Nullable p3: Bundle?): Boolean
Content copied to clipboard
Link copied to clipboard
open fun performAccessibilityActionForItem(@NonNull p0: View, p1: Int, @Nullable p2: Bundle?): Boolean
Content copied to clipboard
open fun performAccessibilityActionForItem(@NonNull p0: RecyclerView.Recycler, @NonNull p1: RecyclerView.State, @NonNull p2: View, p3: Int, @Nullable p4: Bundle?): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeAndRecycleView(@NonNull p0: View, @NonNull p1: RecyclerView.Recycler)
Content copied to clipboard
Link copied to clipboard
open fun removeAndRecycleViewAt(p0: Int, @NonNull p1: RecyclerView.Recycler)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun requestChildRectangleOnScreen(@NonNull p0: RecyclerView, @NonNull p1: View, @NonNull p2: Rect, p3: Boolean): Boolean
Content copied to clipboard
open fun requestChildRectangleOnScreen(@NonNull p0: RecyclerView, @NonNull p1: View, @NonNull p2: Rect, p3: Boolean, p4: Boolean): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun scrollBy(p0: Int, p1: RecyclerView.Recycler, p2: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
open override fun scrollHorizontallyBy(p0: Int, p1: RecyclerView.Recycler, p2: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun scrollVerticallyBy(p0: Int, p1: RecyclerView.Recycler, p2: RecyclerView.State): Int
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun shouldMeasureChild(p0: View, p1: Int, p2: Int, p3: RecyclerView.LayoutParams): Boolean
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun shouldReMeasureChild(p0: View, p1: Int, p2: Int, p3: RecyclerView.LayoutParams): Boolean
Content copied to clipboard
Link copied to clipboard
open override fun smoothScrollToPosition(p0: RecyclerView, p1: RecyclerView.State, p2: Int)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard