Package 

Class SmoothScrollStaggeredLayoutManager

  • All Implemented Interfaces:
    androidx.recyclerview.widget.RecyclerView.SmoothScroller.ScrollVectorProvider , eu.davidea.flexibleadapter.common.IFlexibleLayoutManager

    
    public class SmoothScrollStaggeredLayoutManager
    extends StaggeredGridLayoutManager implements IFlexibleLayoutManager
                        

    Optimized implementation of StaggeredGridLayoutManager to SmoothScroll to a Top position.

    • Method Summary

      • Methods inherited from class androidx.recyclerview.widget.StaggeredGridLayoutManager

        assertNotInLayoutOrScroll, canScrollHorizontally, canScrollVertically, checkLayoutParams, collectAdjacentPrefetchPositions, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScrollVectorForPosition, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, findFirstCompletelyVisibleItemPositions, findFirstVisibleItemPositions, findLastCompletelyVisibleItemPositions, findLastVisibleItemPositions, generateDefaultLayoutParams, generateLayoutParams, getColumnCountForAccessibility, getGapStrategy, getOrientation, getReverseLayout, getRowCountForAccessibility, getSpanCount, invalidateSpanAssignments, isAutoMeasureEnabled, offsetChildrenHorizontal, offsetChildrenVertical, onDetachedFromWindow, onFocusSearchFailed, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfoForItem, onItemsAdded, onItemsChanged, onItemsMoved, onItemsRemoved, onItemsUpdated, onLayoutChildren, onLayoutCompleted, onRestoreInstanceState, onSaveInstanceState, onScrollStateChanged, scrollHorizontallyBy, scrollToPosition, scrollToPositionWithOffset, scrollVerticallyBy, setGapStrategy, setMeasuredDimension, setOrientation, setReverseLayout, setSpanCount, smoothScrollToPosition, supportsPredictiveItemAnimations
      • Methods inherited from class androidx.recyclerview.widget.RecyclerView.LayoutManager

        addDisappearingView, addView, assertInLayoutOrScroll, attachView, calculateItemDecorationsForChild, chooseSize, collectInitialPrefetchPositions, detachAndScrapAttachedViews, detachAndScrapView, detachAndScrapViewAt, detachView, detachViewAt, endAnimation, findContainingItemView, findViewByPosition, getBaseline, getBottomDecorationHeight, getChildAt, getChildCount, getChildMeasureSpec, getClipToPadding, getDecoratedBottom, getDecoratedBoundsWithMargins, getDecoratedLeft, getDecoratedMeasuredHeight, getDecoratedMeasuredWidth, getDecoratedRight, getDecoratedTop, getFocusedChild, getHeight, getHeightMode, getItemCount, getItemViewType, getLayoutDirection, getLeftDecorationWidth, getMinimumHeight, getMinimumWidth, getPaddingBottom, getPaddingEnd, getPaddingLeft, getPaddingRight, getPaddingStart, getPaddingTop, getPosition, getProperties, getRightDecorationWidth, getSelectionModeForAccessibility, getTopDecorationHeight, getTransformedBoundingBox, getWidth, getWidthMode, hasFocus, ignoreView, isAttachedToWindow, isFocused, isItemPrefetchEnabled, isLayoutHierarchical, isMeasurementCacheEnabled, isSmoothScrolling, isViewPartiallyVisible, layoutDecorated, layoutDecoratedWithMargins, measureChild, measureChildWithMargins, moveView, onAdapterChanged, onAddFocusables, onAttachedToWindow, onInterceptFocusSearch, onMeasure, onRequestChildFocus, postOnAnimation, removeAllViews, removeAndRecycleAllViews, removeAndRecycleView, removeAndRecycleViewAt, removeCallbacks, removeDetachedView, removeView, removeViewAt, requestChildRectangleOnScreen, requestLayout, requestSimpleAnimationsInNextLayout, setAutoMeasureEnabled, setItemPrefetchEnabled, setMeasurementCacheEnabled, startSmoothScroll, stopIgnoringView
      • Methods inherited from class eu.davidea.flexibleadapter.common.IFlexibleLayoutManager

        findFirstCompletelyVisibleItemPosition, findFirstVisibleItemPosition, findLastCompletelyVisibleItemPosition, findLastVisibleItemPosition
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait