-
- All Implemented Interfaces:
-
androidx.recyclerview.widget.ItemTouchHelper.ViewDropHandler,androidx.recyclerview.widget.RecyclerView.SmoothScroller.ScrollVectorProvider
public final class MiddlePageManager extends LinearLayoutManager
-
-
Field Summary
Fields Modifier and Type Field Description private final IntegermOrientationprivate final OrientationHelpermOrientationHelperprivate final BooleanmShouldReverseLayoutprivate final IntegermPendingScrollPositionprivate final IntegermPendingScrollPositionOffsetprivate final LinearLayoutManager.SavedStatemPendingSavedStateprivate final LinearLayoutManager.AnchorInfomAnchorInfoprivate final ChildHelpermChildHelperprivate final RecyclerViewmRecyclerViewprivate final ViewBoundsCheckmHorizontalBoundCheckprivate final ViewBoundsCheckmVerticalBoundCheckprivate final RecyclerView.SmoothScrollermSmoothScrollerprivate final BooleanmRequestedSimpleAnimationsprivate final BooleanmIsAttachedToWindowprivate final BooleanmAutoMeasureprivate final IntegermPrefetchMaxCountObservedprivate final BooleanmPrefetchMaxObservedInInitialPrefetch
-
Constructor Summary
Constructors Constructor Description MiddlePageManager(Context context)MiddlePageManager(Context context, Integer orientation, Boolean reverseLayout)MiddlePageManager(Context context, AttributeSet attrs, Integer defStyleAttr, Integer defStyleRes)
-
Method Summary
Modifier and Type Method Description UnitonLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state)UnitmeasureChildWithMargins(View child, Integer widthUsed, Integer heightUsed)UnitonAttachedToWindow(RecyclerView view)-
Methods inherited from class androidx.recyclerview.widget.LinearLayoutManager
addDisappearingView, addDisappearingView, addView, addView, assertInLayoutOrScroll, attachView, attachView, attachView, calculateItemDecorationsForChild, checkLayoutParams, detachAndScrapAttachedViews, detachAndScrapView, detachAndScrapViewAt, detachView, detachViewAt, dispatchAttachedToWindow, dispatchDetachedFromWindow, endAnimation, findContainingItemView, generateLayoutParams, generateLayoutParams, getBaseline, getBottomDecorationHeight, getChildAt, getChildCount, getClipToPadding, getColumnCountForAccessibility, getDecoratedBottom, getDecoratedBoundsWithMargins, getDecoratedLeft, getDecoratedMeasuredHeight, getDecoratedMeasuredWidth, getDecoratedRight, getDecoratedTop, getFocusedChild, getHeight, getHeightMode, getItemCount, getItemViewType, getLayoutDirection, getLeftDecorationWidth, getMinimumHeight, getMinimumWidth, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getPosition, getRightDecorationWidth, getRowCountForAccessibility, getSelectionModeForAccessibility, getTopDecorationHeight, getTransformedBoundingBox, getWidth, getWidthMode, hasFlexibleChildInBothOrientations, hasFocus, ignoreView, isAttachedToWindow, isFocused, isItemPrefetchEnabled, isLayoutHierarchical, isMeasurementCacheEnabled, isSmoothScrolling, isViewPartiallyVisible, layoutDecorated, layoutDecoratedWithMargins, measureChild, moveView, offsetChildrenHorizontal, offsetChildrenVertical, onAdapterChanged, onAddFocusables, onDetachedFromWindow, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onInitializeAccessibilityNodeInfo, onInitializeAccessibilityNodeInfoForItem, onInitializeAccessibilityNodeInfoForItem, onInterceptFocusSearch, onItemsAdded, onItemsChanged, onItemsMoved, onItemsRemoved, onItemsUpdated, onItemsUpdated, onMeasure, onRequestChildFocus, onRequestChildFocus, onScrollStateChanged, onSmoothScrollerStopped, performAccessibilityAction, performAccessibilityAction, performAccessibilityActionForItem, performAccessibilityActionForItem, postOnAnimation, removeAllViews, removeAndRecycleAllViews, removeAndRecycleScrapInt, removeAndRecycleView, removeAndRecycleViewAt, removeCallbacks, removeDetachedView, removeView, removeViewAt, requestChildRectangleOnScreen, requestChildRectangleOnScreen, requestLayout, requestSimpleAnimationsInNextLayout, setAutoMeasureEnabled, setExactMeasureSpecsFrom, setItemPrefetchEnabled, setMeasureSpecs, setMeasuredDimension, setMeasuredDimension, setMeasuredDimensionFromChildren, setMeasurementCacheEnabled, setRecyclerView, shouldMeasureChild, shouldReMeasureChild, startSmoothScroll, stopIgnoringView, stopSmoothScroller -
Methods inherited from class net.gini.android.capture.review.multipage.previews.MiddlePageManager
assertNotInLayoutOrScroll, calculateExtraLayoutSpace, canScrollHorizontally, canScrollVertically, collectAdjacentPrefetchPositions, collectInitialPrefetchPositions, collectPrefetchPositionsForLayoutState, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScrollVectorForPosition, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, convertFocusDirectionToLayoutDirection, createLayoutState, ensureLayoutState, fill, findFirstCompletelyVisibleItemPosition, findFirstVisibleChildClosestToEnd, findFirstVisibleChildClosestToStart, findFirstVisibleItemPosition, findLastCompletelyVisibleItemPosition, findLastVisibleItemPosition, findOnePartiallyOrCompletelyInvisibleChild, findOneVisibleChild, findReferenceChild, findViewByPosition, generateDefaultLayoutParams, getExtraLayoutSpace, getInitialPrefetchItemCount, getOrientation, getRecycleChildrenOnDetach, getReverseLayout, getStackFromEnd, isAutoMeasureEnabled, isLayoutRTL, isSmoothScrollbarEnabled, layoutChunk, onAnchorReady, onDetachedFromWindow, onFocusSearchFailed, onInitializeAccessibilityEvent, onLayoutCompleted, onRestoreInstanceState, onSaveInstanceState, prepareForDrop, resolveIsInfinite, scrollBy, scrollHorizontallyBy, scrollToPosition, scrollToPositionWithOffset, scrollVerticallyBy, setInitialPrefetchItemCount, setOrientation, setRecycleChildrenOnDetach, setReverseLayout, setSmoothScrollbarEnabled, setStackFromEnd, shouldMeasureTwice, smoothScrollToPosition, supportsPredictiveItemAnimations, validateChildOrder -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
onLayoutChildren
Unit onLayoutChildren(RecyclerView.Recycler recycler, RecyclerView.State state)
-
measureChildWithMargins
Unit measureChildWithMargins(View child, Integer widthUsed, Integer heightUsed)
-
onAttachedToWindow
Unit onAttachedToWindow(RecyclerView view)
-
-
-
-