类 RecyclerViewFlowLayoutManager
- java.lang.Object
-
- androidx.recyclerview.widget.RecyclerView.LayoutManager
-
- io.agora.chat.uikit.widget.chatextend.RecyclerViewFlowLayoutManager
-
public class RecyclerViewFlowLayoutManager extends androidx.recyclerview.widget.RecyclerView.LayoutManager
-
-
构造器概要
构造器 构造器 说明 RecyclerViewFlowLayoutManager()
-
方法概要
所有方法 实例方法 具体方法 修饰符和类型 方法 说明 androidx.recyclerview.widget.RecyclerView.LayoutParamsgenerateDefaultLayoutParams()booleanisAutoMeasureEnabled()voidonLayoutChildren(androidx.recyclerview.widget.RecyclerView.Recycler recycler, androidx.recyclerview.widget.RecyclerView.State state)voidonMeasure(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
-
-
-
-
方法详细资料
-
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
-
-