public class ColumnHeaderLayoutManager
extends androidx.recyclerview.widget.LinearLayoutManager
| Constructor and Description |
|---|
ColumnHeaderLayoutManager(android.content.Context context,
ITableView tableView) |
| Modifier and Type | Method and Description |
|---|---|
void |
clearCachedWidths()
Clears the widths which have been calculated and reused.
|
void |
customRequestLayout() |
int |
getCacheWidth(int position) |
int |
getFirstItemLeft() |
AbstractViewHolder |
getViewHolder(int xPosition) |
AbstractViewHolder[] |
getVisibleViewHolders() |
void |
measureChild(android.view.View child,
int widthUsed,
int heightUsed) |
void |
measureChildWithMargins(android.view.View child,
int widthUsed,
int heightUsed) |
void |
removeCachedWidth(int position)
Helps to recalculate the width value of the cell that is located in given position.
|
void |
setCacheWidth(int position,
int width) |
assertNotInLayoutOrScroll, calculateExtraLayoutSpace, canScrollHorizontally, canScrollVertically, collectAdjacentPrefetchPositions, collectInitialPrefetchPositions, computeHorizontalScrollExtent, computeHorizontalScrollOffset, computeHorizontalScrollRange, computeScrollVectorForPosition, computeVerticalScrollExtent, computeVerticalScrollOffset, computeVerticalScrollRange, findFirstCompletelyVisibleItemPosition, findFirstVisibleItemPosition, findLastCompletelyVisibleItemPosition, findLastVisibleItemPosition, findViewByPosition, generateDefaultLayoutParams, getExtraLayoutSpace, getInitialPrefetchItemCount, getOrientation, getRecycleChildrenOnDetach, getReverseLayout, getStackFromEnd, isAutoMeasureEnabled, isLayoutRTL, isSmoothScrollbarEnabled, onDetachedFromWindow, onFocusSearchFailed, onInitializeAccessibilityEvent, onLayoutChildren, onLayoutCompleted, onRestoreInstanceState, onSaveInstanceState, prepareForDrop, scrollHorizontallyBy, scrollToPosition, scrollToPositionWithOffset, scrollVerticallyBy, setInitialPrefetchItemCount, setOrientation, setRecycleChildrenOnDetach, setReverseLayout, setSmoothScrollbarEnabled, setStackFromEnd, smoothScrollToPosition, supportsPredictiveItemAnimationsaddDisappearingView, addDisappearingView, addView, addView, assertInLayoutOrScroll, attachView, attachView, attachView, calculateItemDecorationsForChild, checkLayoutParams, chooseSize, detachAndScrapAttachedViews, detachAndScrapView, detachAndScrapViewAt, detachView, detachViewAt, endAnimation, findContainingItemView, 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, moveView, offsetChildrenHorizontal, offsetChildrenVertical, onAdapterChanged, onAddFocusables, onAttachedToWindow, onDetachedFromWindow, onInitializeAccessibilityEvent, onInitializeAccessibilityNodeInfo, onInitializeAccessibilityNodeInfoForItem, onInterceptFocusSearch, onItemsAdded, onItemsChanged, onItemsMoved, onItemsRemoved, onItemsUpdated, onItemsUpdated, onMeasure, onRequestChildFocus, onRequestChildFocus, onScrollStateChanged, performAccessibilityAction, performAccessibilityActionForItem, postOnAnimation, removeAllViews, removeAndRecycleAllViews, removeAndRecycleView, removeAndRecycleViewAt, removeCallbacks, removeDetachedView, removeView, removeViewAt, requestChildRectangleOnScreen, requestChildRectangleOnScreen, requestLayout, requestSimpleAnimationsInNextLayout, setAutoMeasureEnabled, setItemPrefetchEnabled, setMeasuredDimension, setMeasuredDimension, setMeasurementCacheEnabled, startSmoothScroll, stopIgnoringViewpublic ColumnHeaderLayoutManager(@NonNull
android.content.Context context,
@NonNull
ITableView tableView)
public void measureChildWithMargins(@NonNull
android.view.View child,
int widthUsed,
int heightUsed)
measureChildWithMargins in class androidx.recyclerview.widget.RecyclerView.LayoutManagerpublic void measureChild(@NonNull
android.view.View child,
int widthUsed,
int heightUsed)
measureChild in class androidx.recyclerview.widget.RecyclerView.LayoutManagerpublic void setCacheWidth(int position,
int width)
public int getCacheWidth(int position)
public int getFirstItemLeft()
public void removeCachedWidth(int position)
public void clearCachedWidths()
public void customRequestLayout()
@NonNull public AbstractViewHolder[] getVisibleViewHolders()
@Nullable public AbstractViewHolder getViewHolder(int xPosition)