类 RecyclerViewFlowLayoutManager


  • public class RecyclerViewFlowLayoutManager
    extends androidx.recyclerview.widget.RecyclerView.LayoutManager
    • 嵌套类概要

      • 从类继承的嵌套类/接口 androidx.recyclerview.widget.RecyclerView.LayoutManager

        androidx.recyclerview.widget.RecyclerView.LayoutManager.LayoutPrefetchRegistry, androidx.recyclerview.widget.RecyclerView.LayoutManager.Properties
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      androidx.recyclerview.widget.RecyclerView.LayoutParams generateDefaultLayoutParams()  
      boolean isAutoMeasureEnabled()  
      void onLayoutChildren​(androidx.recyclerview.widget.RecyclerView.Recycler recycler, androidx.recyclerview.widget.RecyclerView.State state)  
      void onMeasure​(androidx.recyclerview.widget.RecyclerView.Recycler recycler, androidx.recyclerview.widget.RecyclerView.State state, int widthSpec, int heightSpec)  
      • 从类继承的方法 androidx.recyclerview.widget.RecyclerView.LayoutManager

        addDisappearingView, addDisappearingView, addView, addView, assertInLayoutOrScroll, assertNotInLayoutOrScroll, attachView, attachView, attachView, calculateItemDecorationsForChild, canScrollHorizontally, canScrollVertically, checkLayoutParams, chooseSize, collectAdjacentPrefetchPositions, collectInitialPrefetchPositions, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, detachAndScrapAttachedViews, detachAndScrapView, detachAndScrapViewAt, detachView, detachViewAt, endAnimation, findContainingItemView, findViewByPosition, generateLayoutParams, generateLayoutParams, getBaseline, getBottomDecorationHeight, getChildAt, getChildCount, getChildMeasureSpec, getChildMeasureSpec, 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, getProperties, getRightDecorationWidth, getRowCountForAccessibility, getSelectionModeForAccessibility, getTopDecorationHeight, getTransformedBoundingBox, getWidth, getWidthMode, hasFocus, ignoreView, isAttachedToWindow, isFocused, isItemPrefetchEnabled, isLayoutHierarchical, isMeasurementCacheEnabled, isSmoothScrolling, isViewPartiallyVisible, layoutDecorated, layoutDecoratedWithMargins, measureChild, measureChildWithMargins, moveView, offsetChildrenHorizontal, offsetChildrenVertical, onAdapterChanged, onAddFocusables, onAttachedToWindow, onDetachedFromWindow, onDetachedFromWindow, onFocusSearchFailed, onInitializeAccessibilityEvent, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onInitializeAccessibilityNodeInfoForItem, onInterceptFocusSearch, onItemsAdded, onItemsChanged, onItemsMoved, onItemsRemoved, onItemsUpdated, onItemsUpdated, onLayoutCompleted, onRequestChildFocus, onRequestChildFocus, onRestoreInstanceState, onSaveInstanceState, onScrollStateChanged, performAccessibilityAction, performAccessibilityActionForItem, postOnAnimation, removeAllViews, removeAndRecycleAllViews, removeAndRecycleView, removeAndRecycleViewAt, removeCallbacks, removeDetachedView, removeView, removeViewAt, requestChildRectangleOnScreen, requestChildRectangleOnScreen, requestLayout, requestSimpleAnimationsInNextLayout, scrollHorizontallyBy, scrollToPosition, scrollVerticallyBy, setAutoMeasureEnabled, setItemPrefetchEnabled, setMeasuredDimension, setMeasuredDimension, setMeasurementCacheEnabled, smoothScrollToPosition, startSmoothScroll, stopIgnoringView, supportsPredictiveItemAnimations
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • RecyclerViewFlowLayoutManager

        public RecyclerViewFlowLayoutManager()
    • 方法详细资料

      • generateDefaultLayoutParams

        public androidx.recyclerview.widget.RecyclerView.LayoutParams generateDefaultLayoutParams()
        指定者:
        generateDefaultLayoutParams 在类中 androidx.recyclerview.widget.RecyclerView.LayoutManager
      • onLayoutChildren

        public void onLayoutChildren​(androidx.recyclerview.widget.RecyclerView.Recycler recycler,
                                     androidx.recyclerview.widget.RecyclerView.State state)
        覆盖:
        onLayoutChildren 在类中 androidx.recyclerview.widget.RecyclerView.LayoutManager
      • onMeasure

        public void onMeasure​(@NonNull
                              androidx.recyclerview.widget.RecyclerView.Recycler recycler,
                              @NonNull
                              androidx.recyclerview.widget.RecyclerView.State state,
                              int widthSpec,
                              int heightSpec)
        覆盖:
        onMeasure 在类中 androidx.recyclerview.widget.RecyclerView.LayoutManager
      • isAutoMeasureEnabled

        public boolean isAutoMeasureEnabled()
        覆盖:
        isAutoMeasureEnabled 在类中 androidx.recyclerview.widget.RecyclerView.LayoutManager