CenterZoomLayoutManager

class CenterZoomLayoutManager : LinearLayoutManager(source)

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
@get:Nullable
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
open fun calculateItemDecorationsForChild(@NonNull child: View, @NonNull outRect: Rect)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun checkLayoutParams(lp: RecyclerView.LayoutParams?): Boolean
Link copied to clipboard
open fun collectAdjacentPrefetchPositions(dx: Int, dy: Int, state: RecyclerView.State?, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry?)
Link copied to clipboard
open fun collectInitialPrefetchPositions(adapterItemCount: Int, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry?)
Link copied to clipboard
open fun computeHorizontalScrollExtent(state: RecyclerView.State): Int
Link copied to clipboard
open fun computeHorizontalScrollOffset(state: RecyclerView.State): Int
Link copied to clipboard
open fun computeHorizontalScrollRange(state: RecyclerView.State): Int
Link copied to clipboard
open fun computeScrollVectorForPosition(targetPosition: Int): PointF?
Link copied to clipboard
open fun computeVerticalScrollExtent(state: RecyclerView.State): Int
Link copied to clipboard
open fun computeVerticalScrollOffset(state: RecyclerView.State): Int
Link copied to clipboard
open fun computeVerticalScrollRange(state: RecyclerView.State): Int
Link copied to clipboard
open fun detachAndScrapAttachedViews(@NonNull recycler: RecyclerView.Recycler)
Link copied to clipboard
open fun detachAndScrapView(@NonNull child: View, @NonNull recycler: RecyclerView.Recycler)
Link copied to clipboard
open fun detachAndScrapViewAt(index: Int, @NonNull recycler: RecyclerView.Recycler)
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
@Nullable
open fun findContainingItemView(@NonNull view: View): View?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun findViewByPosition(position: Int): View?
Link copied to clipboard
open fun generateDefaultLayoutParams(): RecyclerView.LayoutParams?
Link copied to clipboard
open fun generateLayoutParams(lp: ViewGroup.LayoutParams?): RecyclerView.LayoutParams?
open fun generateLayoutParams(c: Context?, attrs: AttributeSet?): RecyclerView.LayoutParams?
Link copied to clipboard
open fun getBottomDecorationHeight(@NonNull child: View): Int
Link copied to clipboard
@Nullable
open fun getChildAt(index: Int): View?
Link copied to clipboard
open fun getColumnCountForAccessibility(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State): Int
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
open fun getDecoratedMeasuredHeight(@NonNull child: View): Int
Link copied to clipboard
open fun getDecoratedMeasuredWidth(@NonNull child: View): Int
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
open fun getLeftDecorationWidth(@NonNull child: View): Int
Link copied to clipboard
open fun getPosition(@NonNull view: View): Int
Link copied to clipboard
open fun getRightDecorationWidth(@NonNull child: View): Int
Link copied to clipboard
open fun getRowCountForAccessibility(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State): Int
Link copied to clipboard
open fun getSelectionModeForAccessibility(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State): Int
Link copied to clipboard
open fun getTopDecorationHeight(@NonNull child: View): Int
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 isLayoutHierarchical(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State): Boolean
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
open fun offsetChildrenHorizontal(@Px dx: Int)
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
@CallSuper
open fun onAttachedToWindow(view: RecyclerView?)
Link copied to clipboard
open fun onDetachedFromWindow(view: RecyclerView?)
open fun onDetachedFromWindow(view: RecyclerView?, recycler: RecyclerView.Recycler?)
Link copied to clipboard
open fun onFocusSearchFailed(focused: View, focusDirection: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): View?
Link copied to clipboard
open fun onInitializeAccessibilityEvent(event: AccessibilityEvent)
open fun onInitializeAccessibilityEvent(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State, @NonNull event: AccessibilityEvent)
Link copied to clipboard
open fun onInitializeAccessibilityNodeInfo(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State, @NonNull info: AccessibilityNodeInfoCompat)
Link copied to clipboard
open fun onInitializeAccessibilityNodeInfoForItem(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State, @NonNull host: View, @NonNull info: AccessibilityNodeInfoCompat)
Link copied to clipboard
@Nullable
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
open fun onLayoutChildren(recycler: RecyclerView.Recycler?, state: RecyclerView.State?)
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
open fun onRestoreInstanceState(state: Parcelable?)
Link copied to clipboard
open fun onSaveInstanceState(): Parcelable?
Link copied to clipboard
open fun onScrollStateChanged(state: Int)
Link copied to clipboard
open fun performAccessibilityAction(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State, action: Int, @Nullable args: Bundle?): Boolean
Link copied to clipboard
open fun performAccessibilityActionForItem(@NonNull recycler: RecyclerView.Recycler, @NonNull state: RecyclerView.State, @NonNull view: View, action: Int, @Nullable args: Bundle?): Boolean
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
open fun removeAndRecycleAllViews(@NonNull recycler: RecyclerView.Recycler)
Link copied to clipboard
open fun removeAndRecycleView(@NonNull child: View, @NonNull recycler: RecyclerView.Recycler)
Link copied to clipboard
open fun removeAndRecycleViewAt(index: Int, @NonNull recycler: RecyclerView.Recycler)
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
open fun scrollVerticallyBy(dy: Int, recycler: RecyclerView.Recycler?, state: RecyclerView.State?): Int
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
open fun startSmoothScroll(smoothScroller: RecyclerView.SmoothScroller?)
Link copied to clipboard
open fun stopIgnoringView(@NonNull view: View)
Link copied to clipboard
fun updateSize(forceUpdate: Boolean = false)