PivotLayoutManager

A RecyclerView.LayoutManager that builds the layout around a pivot view.

It behaves similarly to GridLayoutManager with the main difference being how focus is handled.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int)
constructor(properties: RecyclerView.LayoutManager.Properties)

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
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
open override fun checkLayoutParams(layoutParams: RecyclerView.LayoutParams?): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun collectInitialPrefetchPositions(adapterItemCount: Int, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override fun computeScrollVectorForPosition(targetPosition: 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 fun getBaseline(): Int
Link copied to clipboard
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
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
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
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 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
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
Link copied to clipboard
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
open override fun isLayoutReversed(): Boolean
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
open override fun onAdapterChanged(oldAdapter: RecyclerView.Adapter<*>?, newAdapter: RecyclerView.Adapter<*>?)
Link copied to clipboard
open override fun onAddFocusables(recyclerView: RecyclerView, views: ArrayList<View>, direction: Int, focusableMode: Int): Boolean
Link copied to clipboard
open override fun onAttachedToWindow(view: RecyclerView)
Link copied to clipboard
Link copied to clipboard
open override fun onInterceptFocusSearch(focused: View, direction: Int): View?
Link copied to clipboard
open override fun onItemsAdded(recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
Link copied to clipboard
open override fun onItemsChanged(recyclerView: RecyclerView)
Link copied to clipboard
open override fun onItemsMoved(recyclerView: RecyclerView, from: Int, to: Int, itemCount: Int)
Link copied to clipboard
open override fun onItemsRemoved(recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
Link copied to clipboard
open fun onItemsUpdated(@NonNull p0: RecyclerView, p1: Int, p2: Int)
open fun onItemsUpdated(@NonNull p0: RecyclerView, p1: Int, p2: Int, @Nullable p3: Any?)
Link copied to clipboard
open override fun onLayoutChildren(recycler: RecyclerView.Recycler, state: RecyclerView.State)
Link copied to clipboard
open override fun onLayoutCompleted(state: RecyclerView.State)
Link copied to clipboard
Link copied to clipboard
open override fun onRequestChildFocus(parent: RecyclerView, state: RecyclerView.State, child: View, focused: View?): Boolean
Link copied to clipboard
fun onRequestFocusInDescendants(direction: Int, previouslyFocusedRect: Rect?): Boolean
Link copied to clipboard
open override fun onRestoreInstanceState(state: Parcelable?)
Link copied to clipboard
open override fun onSaveInstanceState(): Parcelable
Link copied to clipboard
Link copied to clipboard
open override fun performAccessibilityAction(recycler: RecyclerView.Recycler, state: RecyclerView.State, action: Int, args: Bundle?): Boolean
Link copied to clipboard
Link copied to clipboard
open override fun prepareForDrop(view: View, target: View, x: Int, y: 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 override fun requestChildRectangleOnScreen(parent: RecyclerView, child: View, rect: Rect, immediate: Boolean): Boolean
Link copied to clipboard
open fun requestLayout()
Link copied to clipboard
open override fun scrollHorizontallyBy(dx: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): Int
Link copied to clipboard
open override fun scrollToPosition(position: Int)
Link copied to clipboard
open override fun scrollVerticallyBy(dy: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): Int
Link copied to clipboard
fun selectPosition(position: Int, subPosition: Int, smooth: Boolean)
Link copied to clipboard
fun selectSubPosition(subPosition: Int, smooth: Boolean)
Link copied to clipboard
Link copied to clipboard
fun setAlignments(parent: ParentAlignment, child: ChildAlignment, smooth: Boolean)
Link copied to clipboard
Link copied to clipboard
fun setChildAlignment(alignment: ChildAlignment, smooth: Boolean)
Link copied to clipboard
Link copied to clipboard
fun setFocusOutAllowed(throughFront: Boolean, throughBack: Boolean)
Link copied to clipboard
fun setFocusOutSideAllowed(throughFront: Boolean, throughBack: Boolean)
Link copied to clipboard
Link copied to clipboard
fun setGravity(gravity: 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 fun setMeasuredDimension(p0: Int, p1: Int)
open fun setMeasuredDimension(p0: Rect, p1: Int, p2: Int)
Link copied to clipboard
Link copied to clipboard
fun setOrientation(orientation: Int)
Link copied to clipboard
fun setParentAlignment(alignment: ParentAlignment, smooth: Boolean)
Link copied to clipboard
Link copied to clipboard
fun setReverseLayout(reverseLayout: Boolean)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun setSpanCount(spanCount: Int)
Link copied to clipboard
Link copied to clipboard
open override fun smoothScrollToPosition(recyclerView: RecyclerView, state: RecyclerView.State, position: Int)
Link copied to clipboard
open override fun startSmoothScroll(smoothScroller: RecyclerView.SmoothScroller)
Link copied to clipboard
open fun stopIgnoringView(@NonNull p0: View)
Link copied to clipboard