CenterZoomLayoutManager

Constructors

Link copied to clipboard
constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int, defStyleRes: Int)
constructor(context: Context?)
constructor(context: Context?, orientation: Int, reverseLayout: Boolean)

Properties

Link copied to clipboard
open val baseline: Int
Link copied to clipboard
open val childCount: Int
Link copied to clipboard
Link copied to clipboard
open val focusedChild: View?
Link copied to clipboard
@get:Px
open val height: Int
Link copied to clipboard
open val heightMode: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val isFocused: Boolean
Link copied to clipboard
Link copied to clipboard
protected open val isLayoutRTL: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val itemCount: Int
Link copied to clipboard
Link copied to clipboard
@get:Px
open val minimumHeight: Int
Link copied to clipboard
@get:Px
open val minimumWidth: Int
Link copied to clipboard
open var orientation: Int
Link copied to clipboard
@get:Px
open val paddingBottom: Int
Link copied to clipboard
@get:Px
open val paddingEnd: Int
Link copied to clipboard
@get:Px
open val paddingLeft: Int
Link copied to clipboard
@get:Px
open val paddingRight: Int
Link copied to clipboard
@get:Px
open val paddingStart: Int
Link copied to clipboard
@get:Px
open val paddingTop: Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@get:Px
open val width: Int
Link copied to clipboard
open val widthMode: Int

Functions

Link copied to clipboard
open fun addDisappearingView(child: View?)
open fun addDisappearingView(child: View?, index: Int)
Link copied to clipboard
open fun addView(child: View?)
open fun addView(child: View?, index: Int)
Link copied to clipboard
open fun assertInLayoutOrScroll(message: String?)
Link copied to clipboard
open fun assertNotInLayoutOrScroll(message: String?)
Link copied to clipboard
open fun attachView(@NonNull child: View)
open fun attachView(@NonNull child: View, index: Int)
open fun attachView(@NonNull child: View, index: Int, lp: RecyclerView.LayoutParams?)
Link copied to clipboard
protected open fun calculateExtraLayoutSpace(@NonNull state: RecyclerView.State, @NonNull extraLayoutSpace: IntArray)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun collectInitialPrefetchPositions(adapterItemCount: Int, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry?)
Link copied to clipboard
open fun computeScrollVectorForPosition(targetPosition: Int): PointF?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun detachView(@NonNull child: View)
Link copied to clipboard
open fun detachViewAt(index: Int)
Link copied to clipboard
open fun endAnimation(view: View?)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun findViewByPosition(position: Int): View?
Link copied to clipboard
Link copied to clipboard
open fun getChildAt(index: Int): View?
Link copied to clipboard
open fun getDecoratedBottom(@NonNull child: View): Int
Link copied to clipboard
open fun getDecoratedBoundsWithMargins(@NonNull view: View, @NonNull outBounds: Rect)
Link copied to clipboard
open fun getDecoratedLeft(@NonNull child: View): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getDecoratedRight(@NonNull child: View): Int
Link copied to clipboard
open fun getDecoratedTop(@NonNull child: View): Int
Link copied to clipboard
protected open fun getExtraLayoutSpace(state: RecyclerView.State?): Int
Link copied to clipboard
open fun getItemViewType(@NonNull view: View): Int
Link copied to clipboard
Link copied to clipboard
open fun getPosition(@NonNull view: View): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getTransformedBoundingBox(@NonNull child: View, includeDecorInsets: Boolean, @NonNull out: Rect)
Link copied to clipboard
open fun hasFocus(): Boolean
Link copied to clipboard
open fun ignoreView(@NonNull view: View)
Link copied to clipboard
open fun isViewPartiallyVisible(@NonNull child: View, completelyVisible: Boolean, acceptEndPointInclusion: Boolean): Boolean
Link copied to clipboard
open fun layoutDecorated(@NonNull child: View, left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun layoutDecoratedWithMargins(@NonNull child: View, left: Int, top: Int, right: Int, bottom: Int)
Link copied to clipboard
open fun measureChild(@NonNull child: View, widthUsed: Int, heightUsed: Int)
Link copied to clipboard
open fun measureChildWithMargins(@NonNull child: View, widthUsed: Int, heightUsed: Int)
Link copied to clipboard
open fun moveView(fromIndex: Int, toIndex: Int)
Link copied to clipboard
Link copied to clipboard
open fun offsetChildrenVertical(@Px dy: Int)
Link copied to clipboard
open fun onAdapterChanged(@Nullable oldAdapter: RecyclerView.Adapter<*>??, @Nullable newAdapter: RecyclerView.Adapter<*>??)
Link copied to clipboard
open fun onAddFocusables(@NonNull recyclerView: RecyclerView, @NonNull views: ArrayList<View?>, direction: Int, focusableMode: Int): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onFocusSearchFailed(focused: View, direction: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): View?
Link copied to clipboard
open fun onInterceptFocusSearch(@NonNull focused: View, direction: Int): View?
Link copied to clipboard
open fun onItemsAdded(@NonNull recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
Link copied to clipboard
open fun onItemsChanged(@NonNull recyclerView: RecyclerView)
Link copied to clipboard
open fun onItemsMoved(@NonNull recyclerView: RecyclerView, from: Int, to: Int, itemCount: Int)
Link copied to clipboard
open fun onItemsRemoved(@NonNull recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
Link copied to clipboard
open fun onItemsUpdated(@NonNull recyclerView: RecyclerView, positionStart: Int, itemCount: Int)
open fun onItemsUpdated(@NonNull recyclerView: RecyclerView, positionStart: Int, itemCount: Int, @Nullable payload: Any?)
Link copied to clipboard
Link copied to clipboard
open override fun onLayoutCompleted(state: RecyclerView.State?)
Link copied to clipboard
open fun onMeasure(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State, widthSpec: Int, heightSpec: Int)
Link copied to clipboard
open fun onRequestChildFocus(@NonNull parent: RecyclerView, @NonNull child: View, @Nullable focused: View?): Boolean
open fun onRequestChildFocus(@NonNull parent: RecyclerView, @NonNull state: RecyclerView.State, @NonNull child: View, @Nullable focused: View?): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun onScrollStateChanged(state: Int)
Link copied to clipboard
Link copied to clipboard
open fun postOnAnimation(action: Runnable?)
Link copied to clipboard
open fun prepareForDrop(@NonNull view: View, @NonNull 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
open fun removeCallbacks(action: Runnable?): Boolean
Link copied to clipboard
open fun removeDetachedView(@NonNull child: View)
Link copied to clipboard
Link copied to clipboard
open fun removeView(child: View?)
Link copied to clipboard
open fun removeViewAt(index: Int)
Link copied to clipboard
open fun requestChildRectangleOnScreen(@NonNull parent: RecyclerView, @NonNull child: View, @NonNull rect: Rect, immediate: Boolean): Boolean
open fun requestChildRectangleOnScreen(@NonNull parent: RecyclerView, @NonNull child: View, @NonNull rect: Rect, immediate: Boolean, focusedChildVisible: 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 fun scrollToPosition(position: Int)
Link copied to clipboard
open fun scrollToPositionWithOffset(position: Int, offset: Int)
Link copied to clipboard
Link copied to clipboard
open fun setMeasuredDimension(widthSize: Int, heightSize: Int)
open fun setMeasuredDimension(childrenBounds: Rect?, wSpec: Int, hSpec: Int)
Link copied to clipboard
fun setOnSizeListener(listener: (Int) -> Unit)
Link copied to clipboard
open fun smoothScrollToPosition(recyclerView: RecyclerView?, state: RecyclerView.State?, position: Int)
Link copied to clipboard
fun snap(snap: Int? = null, callback: (Int) -> Unit)
Link copied to clipboard
Link copied to clipboard
open fun stopIgnoringView(@NonNull view: View)
Link copied to clipboard
fun updateSize(forceUpdate: Boolean = false)