AutoFitGridLayoutManager

class AutoFitGridLayoutManager(context: Context, columnWidth: Int) : GridLayoutManager
gridLayoutManager = AutoFitGridLayoutManager(requireActivity(), COLUMN_WIDTH) // column_width = 500

layout width must be match parent

Constructors

Link copied to clipboard
constructor(context: Context, columnWidth: Int)

Functions

Link copied to clipboard
open fun addDisappearingView(p0: View, p1: Int)
Link copied to clipboard
open fun addView(p0: View)
open fun addView(p0: View, p1: Int)
Link copied to clipboard
Link copied to clipboard
open override fun assertNotInLayoutOrScroll(p0: String)
Link copied to clipboard
open fun attachView(@NonNull p0: View)
open fun attachView(@NonNull p0: View, p1: Int)
Link copied to clipboard
open override fun canScrollHorizontally(): Boolean
Link copied to clipboard
open override fun canScrollVertically(): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun computeScrollVectorForPosition(p0: Int): PointF?
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 detachView(@NonNull p0: View)
Link copied to clipboard
open fun detachViewAt(p0: Int)
Link copied to clipboard
open fun endAnimation(p0: View)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun findViewByPosition(p0: Int): View?
Link copied to clipboard
open fun getBaseline(): Int
Link copied to clipboard
Link copied to clipboard
open fun getChildAt(p0: Int): View?
Link copied to clipboard
open fun getChildCount(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDecoratedLeft(@NonNull p0: View): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDecoratedTop(@NonNull p0: View): Int
Link copied to clipboard
Link copied to clipboard
open fun getHeight(): Int
Link copied to clipboard
open fun getHeightMode(): Int
Link copied to clipboard
Link copied to clipboard
open fun getItemCount(): Int
Link copied to clipboard
open fun getItemViewType(@NonNull p0: View): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getMinimumHeight(): Int
Link copied to clipboard
open fun getMinimumWidth(): Int
Link copied to clipboard
open fun getOrientation(): Int
Link copied to clipboard
open fun getPaddingBottom(): Int
Link copied to clipboard
open fun getPaddingEnd(): Int
Link copied to clipboard
open fun getPaddingLeft(): Int
Link copied to clipboard
open fun getPaddingRight(): Int
Link copied to clipboard
open fun getPaddingStart(): Int
Link copied to clipboard
open fun getPaddingTop(): Int
Link copied to clipboard
open fun getPosition(@NonNull p0: View): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSpanCount(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getWidth(): Int
Link copied to clipboard
open fun getWidthMode(): Int
Link copied to clipboard
open fun hasFocus(): Boolean
Link copied to clipboard
open fun ignoreView(@NonNull p0: View)
Link copied to clipboard
Link copied to clipboard
open override fun isAutoMeasureEnabled(): Boolean
Link copied to clipboard
open fun isFocused(): Boolean
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 layoutDecorated(@NonNull p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun layoutDecoratedWithMargins(@NonNull p0: View, p1: Int, p2: Int, p3: Int, p4: Int)
Link copied to clipboard
open fun measureChild(@NonNull p0: View, p1: Int, p2: Int)
Link copied to clipboard
open fun measureChildWithMargins(@NonNull p0: View, p1: Int, p2: Int)
Link copied to clipboard
open fun moveView(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
open fun offsetChildrenVertical(@Px p0: Int)
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 onItemsAdded(p0: RecyclerView, p1: Int, p2: Int)
Link copied to clipboard
open override fun onItemsChanged(p0: RecyclerView)
Link copied to clipboard
open override fun onItemsMoved(p0: RecyclerView, p1: Int, p2: Int, p3: Int)
Link copied to clipboard
open override fun onItemsRemoved(p0: RecyclerView, p1: Int, p2: Int)
Link copied to clipboard
open override fun onItemsUpdated(p0: RecyclerView, p1: Int, p2: Int, p3: Any?)
open fun onItemsUpdated(@NonNull p0: RecyclerView, p1: Int, p2: Int)
Link copied to clipboard
open override fun onLayoutChildren(recycler: RecyclerView.Recycler?, state: RecyclerView.State)
Link copied to clipboard
open override fun onLayoutCompleted(p0: RecyclerView.State)
Link copied to clipboard
Link copied to clipboard
open override fun onRestoreInstanceState(p0: Parcelable)
Link copied to clipboard
open override fun onSaveInstanceState(): Parcelable?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun prepareForDrop(@NonNull p0: View, @NonNull p1: View, p2: Int, p3: Int)
Link copied to clipboard
open fun removeAllViews()
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun removeView(p0: View)
Link copied to clipboard
open fun removeViewAt(p0: Int)
Link copied to clipboard
open fun requestLayout()
Link copied to clipboard
Link copied to clipboard
open override fun scrollToPosition(p0: Int)
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 setMeasuredDimension(p0: Rect, p1: Int, p2: Int)
open fun setMeasuredDimension(p0: Int, p1: Int)
Link copied to clipboard
Link copied to clipboard
open fun setOrientation(p0: Int)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun setSpanCount(p0: Int)
Link copied to clipboard
Link copied to clipboard
open override fun setStackFromEnd(p0: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun stopIgnoringView(@NonNull p0: View)
Link copied to clipboard