//Android/br.com.arch.toolkit.android.recyclerAdapter.stickyheader/StickyHeadersLinearLayoutManager
[android]
class StickyHeadersLinearLayoutManager<T : RecyclerView.Adapter<*>, StickyHeaders> : LinearLayoutManager
Adds sticky headers capabilities to your RecyclerView.Adapter. It must implement StickyHeaders to indicate which items are headers.
| Â | Â |
|---|---|
| StickyHeadersLinearLayoutManager | [android] constructor(context: ERROR CLASS: Symbol not found for Context)constructor(context: ERROR CLASS: Symbol not found for Context, orientation: Int, reverseLayout: Boolean) |
| Name | Summary |
|---|---|
| addDisappearingView | [android] open fun addDisappearingView(child: android/view/View??) open fun addDisappearingView(child: android/view/View??, index: Int) |
| addView | [android] open fun addView(child: android/view/View??) open fun addView(child: android/view/View??, index: Int) |
| assertInLayoutOrScroll | [android] open fun assertInLayoutOrScroll(message: String?) |
| assertNotInLayoutOrScroll | [android] open fun assertNotInLayoutOrScroll(message: String?) |
| attachView | [android] open fun attachView(@NonNullchild: @EnhancedNullability android/view/View) open fun attachView(@NonNullchild: @EnhancedNullability android/view/View, index: Int) open fun attachView(@NonNullchild: @EnhancedNullability android/view/View, index: Int, lp: RecyclerView.LayoutParams?) |
| calculateItemDecorationsForChild | [android] open fun calculateItemDecorationsForChild(@NonNullchild: @EnhancedNullability android/view/View, @NonNulloutRect: @EnhancedNullability android/graphics/Rect) |
| canScrollHorizontally | [android] open fun canScrollHorizontally(): Boolean |
| canScrollVertically | [android] open fun canScrollVertically(): Boolean |
| checkLayoutParams | [android] open fun checkLayoutParams(lp: RecyclerView.LayoutParams?): Boolean |
| collectAdjacentPrefetchPositions | [android] open fun collectAdjacentPrefetchPositions(dx: Int, dy: Int, state: RecyclerView.State?, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry?) |
| collectInitialPrefetchPositions | [android] open fun collectInitialPrefetchPositions(adapterItemCount: Int, layoutPrefetchRegistry: RecyclerView.LayoutManager.LayoutPrefetchRegistry?) |
| computeHorizontalScrollExtent | [android] open fun computeHorizontalScrollExtent(state: RecyclerView.State): Int |
| computeHorizontalScrollOffset | [android] open fun computeHorizontalScrollOffset(state: RecyclerView.State): Int |
| computeHorizontalScrollRange | [android] open fun computeHorizontalScrollRange(state: RecyclerView.State): Int |
| computeScrollVectorForPosition | [android] open fun computeScrollVectorForPosition(targetPosition: Int): @EnhancedNullability android/graphics/PointF?? |
| computeVerticalScrollExtent | [android] open fun computeVerticalScrollExtent(state: RecyclerView.State): Int |
| computeVerticalScrollOffset | [android] open fun computeVerticalScrollOffset(state: RecyclerView.State): Int |
| computeVerticalScrollRange | [android] open fun computeVerticalScrollRange(state: RecyclerView.State): Int |
| detachAndScrapAttachedViews | [android] open fun detachAndScrapAttachedViews(@NonNullrecycler: RecyclerView.Recycler) |
| detachAndScrapView | [android] open fun detachAndScrapView(@NonNullchild: @EnhancedNullability android/view/View, @NonNullrecycler: RecyclerView.Recycler) |
| detachAndScrapViewAt | [android] open fun detachAndScrapViewAt(index: Int, @NonNullrecycler: RecyclerView.Recycler) |
| detachView | [android] open fun detachView(@NonNullchild: @EnhancedNullability android/view/View) |
| detachViewAt | [android] open fun detachViewAt(index: Int) |
| endAnimation | [android] open fun endAnimation(view: android/view/View??) |
| findContainingItemView | [android] @Nullable open fun findContainingItemView(@NonNullview: @EnhancedNullability android/view/View): @EnhancedNullability android/view/View?? |
| findFirstCompletelyVisibleItemPosition | [android] open fun findFirstCompletelyVisibleItemPosition(): Int |
| findFirstVisibleItemPosition | [android] open fun findFirstVisibleItemPosition(): Int |
| findLastCompletelyVisibleItemPosition | [android] open fun findLastCompletelyVisibleItemPosition(): Int |
| findLastVisibleItemPosition | [android] open fun findLastVisibleItemPosition(): Int |
| findViewByPosition | [android] open fun findViewByPosition(position: Int): @EnhancedNullability android/view/View?? |
| generateDefaultLayoutParams | [android] open fun generateDefaultLayoutParams(): RecyclerView.LayoutParams? |
| generateLayoutParams | [android] open fun generateLayoutParams(lp: android/view/ViewGroup/LayoutParams??): RecyclerView.LayoutParams? open fun generateLayoutParams(c: android/content/Context??, attrs: android/util/AttributeSet??): RecyclerView.LayoutParams? |
| getBottomDecorationHeight | [android] open fun getBottomDecorationHeight(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getChildAt | [android] @Nullable open fun getChildAt(index: Int): @EnhancedNullability android/view/View?? |
| getColumnCountForAccessibility | [android] open fun getColumnCountForAccessibility(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State): Int |
| getDecoratedBottom | [android] open fun getDecoratedBottom(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getDecoratedBoundsWithMargins | [android] open fun getDecoratedBoundsWithMargins(@NonNullview: @EnhancedNullability android/view/View, @NonNulloutBounds: @EnhancedNullability android/graphics/Rect) |
| getDecoratedLeft | [android] open fun getDecoratedLeft(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getDecoratedMeasuredHeight | [android] open fun getDecoratedMeasuredHeight(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getDecoratedMeasuredWidth | [android] open fun getDecoratedMeasuredWidth(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getDecoratedRight | [android] open fun getDecoratedRight(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getDecoratedTop | [android] open fun getDecoratedTop(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getItemViewType | [android] open fun getItemViewType(@NonNullview: @EnhancedNullability android/view/View): Int |
| getLeftDecorationWidth | [android] open fun getLeftDecorationWidth(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getPosition | [android] open fun getPosition(@NonNullview: @EnhancedNullability android/view/View): Int |
| getRightDecorationWidth | [android] open fun getRightDecorationWidth(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getRowCountForAccessibility | [android] open fun getRowCountForAccessibility(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State): Int |
| getSelectionModeForAccessibility | [android] open fun getSelectionModeForAccessibility(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State): Int |
| getTopDecorationHeight | [android] open fun getTopDecorationHeight(@NonNullchild: @EnhancedNullability android/view/View): Int |
| getTransformedBoundingBox | [android] open fun getTransformedBoundingBox(@NonNullchild: @EnhancedNullability android/view/View, includeDecorInsets: Boolean, @NonNullout: @EnhancedNullability android/graphics/Rect) |
| hasFocus | [android] open fun hasFocus(): Boolean |
| ignoreView | [android] open fun ignoreView(@NonNullview: @EnhancedNullability android/view/View) |
| isLayoutHierarchical | [android] open fun isLayoutHierarchical(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State): Boolean |
| isStickyHeader | [android] fun isStickyHeader(view: ERROR CLASS: Symbol not found for View): Boolean Returns true if view is the current sticky header. |
| isViewPartiallyVisible | [android] open fun isViewPartiallyVisible(@NonNullchild: @EnhancedNullability android/view/View, completelyVisible: Boolean, acceptEndPointInclusion: Boolean): Boolean |
| layoutDecorated | [android] open fun layoutDecorated(@NonNullchild: @EnhancedNullability android/view/View, left: Int, top: Int, right: Int, bottom: Int) |
| layoutDecoratedWithMargins | [android] open fun layoutDecoratedWithMargins(@NonNullchild: @EnhancedNullability android/view/View, left: Int, top: Int, right: Int, bottom: Int) |
| measureChild | [android] open fun measureChild(@NonNullchild: @EnhancedNullability android/view/View, widthUsed: Int, heightUsed: Int) |
| measureChildWithMargins | [android] open fun measureChildWithMargins(@NonNullchild: @EnhancedNullability android/view/View, widthUsed: Int, heightUsed: Int) |
| moveView | [android] open fun moveView(fromIndex: Int, toIndex: Int) |
| offsetChildrenHorizontal | [android] open fun offsetChildrenHorizontal(@Pxdx: Int) |
| offsetChildrenVertical | [android] open fun offsetChildrenVertical(@Pxdy: Int) |
| onAdapterChanged | [android] open override fun onAdapterChanged(oldAdapter: RecyclerView.Adapter<>?, newAdapter: RecyclerView.Adapter<>?) |
| onAddFocusables | [android] open fun onAddFocusables(@NonNullrecyclerView: RecyclerView, @NonNullviews: ArrayList<android/view/View??>, direction: Int, focusableMode: Int): Boolean |
| onAttachedToWindow | [android] open override fun onAttachedToWindow(view: RecyclerView?) |
| onDetachedFromWindow | [android] open fun onDetachedFromWindow(view: RecyclerView?, recycler: RecyclerView.Recycler?) |
| onFocusSearchFailed | [android] open fun onFocusSearchFailed(focused: @EnhancedNullability android/view/View, direction: Int, recycler: RecyclerView.Recycler, state: RecyclerView.State): @EnhancedNullability android/view/View?? |
| onInitializeAccessibilityEvent | [android] open fun onInitializeAccessibilityEvent(event: @EnhancedNullability android/view/accessibility/AccessibilityEvent) open fun onInitializeAccessibilityEvent(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State, @NonNullevent: @EnhancedNullability android/view/accessibility/AccessibilityEvent) |
| onInitializeAccessibilityNodeInfo | [android] open fun onInitializeAccessibilityNodeInfo(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State, @NonNullinfo: AccessibilityNodeInfoCompat) |
| onInitializeAccessibilityNodeInfoForItem | [android] open fun onInitializeAccessibilityNodeInfoForItem(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State, @NonNullhost: @EnhancedNullability android/view/View, @NonNullinfo: AccessibilityNodeInfoCompat) |
| onInterceptFocusSearch | [android] @Nullable open fun onInterceptFocusSearch(@NonNullfocused: @EnhancedNullability android/view/View, direction: Int): @EnhancedNullability android/view/View?? |
| onItemsAdded | [android] open fun onItemsAdded(@NonNullrecyclerView: RecyclerView, positionStart: Int, itemCount: Int) |
| onItemsChanged | [android] open fun onItemsChanged(@NonNullrecyclerView: RecyclerView) |
| onItemsMoved | [android] open fun onItemsMoved(@NonNullrecyclerView: RecyclerView, from: Int, to: Int, itemCount: Int) |
| onItemsRemoved | [android] open fun onItemsRemoved(@NonNullrecyclerView: RecyclerView, positionStart: Int, itemCount: Int) |
| onItemsUpdated | [android] open fun onItemsUpdated(@NonNullrecyclerView: RecyclerView, positionStart: Int, itemCount: Int) open fun onItemsUpdated(@NonNullrecyclerView: RecyclerView, positionStart: Int, itemCount: Int, @Nullablepayload: Any?) |
| onLayoutChildren | [android] open override fun onLayoutChildren(recycler: RecyclerView.Recycler?, state: RecyclerView.State) |
| onLayoutCompleted | [android] open fun onLayoutCompleted(state: RecyclerView.State?) |
| onMeasure | [android] open fun onMeasure(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State, widthSpec: Int, heightSpec: Int) |
| onRequestChildFocus | [android] open fun onRequestChildFocus(@NonNullparent: RecyclerView, @NonNullstate: RecyclerView.State, @NonNullchild: @EnhancedNullability android/view/View, @Nullablefocused: @EnhancedNullability android/view/View??): Boolean |
| onRestoreInstanceState | [android] open fun onRestoreInstanceState(state: android/os/Parcelable??) |
| onSaveInstanceState | [android] open fun onSaveInstanceState(): @EnhancedNullability android/os/Parcelable?? |
| onScrollStateChanged | [android] open fun onScrollStateChanged(state: Int) |
| performAccessibilityAction | [android] open fun performAccessibilityAction(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State, action: Int, @Nullableargs: @EnhancedNullability android/os/Bundle??): Boolean |
| performAccessibilityActionForItem | [android] open fun performAccessibilityActionForItem(@NonNullrecycler: RecyclerView.Recycler, @NonNullstate: RecyclerView.State, @NonNullview: @EnhancedNullability android/view/View, action: Int, @Nullableargs: @EnhancedNullability android/os/Bundle??): Boolean |
| postOnAnimation | [android] open fun postOnAnimation(action: Runnable?) |
| prepareForDrop | [android] open fun prepareForDrop(@NonNullview: @EnhancedNullability android/view/View, @NonNulltarget: @EnhancedNullability android/view/View, x: Int, y: Int) |
| removeAllViews | [android] open fun removeAllViews() |
| removeAndRecycleAllViews | [android] open fun removeAndRecycleAllViews(@NonNullrecycler: RecyclerView.Recycler) |
| removeAndRecycleView | [android] open fun removeAndRecycleView(@NonNullchild: @EnhancedNullability android/view/View, @NonNullrecycler: RecyclerView.Recycler) |
| removeAndRecycleViewAt | [android] open fun removeAndRecycleViewAt(index: Int, @NonNullrecycler: RecyclerView.Recycler) |
| removeCallbacks | [android] open fun removeCallbacks(action: Runnable?): Boolean |
| removeDetachedView | [android] open fun removeDetachedView(@NonNullchild: @EnhancedNullability android/view/View) |
| removeView | [android] open fun removeView(child: android/view/View??) |
| removeViewAt | [android] open fun removeViewAt(index: Int) |
| requestChildRectangleOnScreen | [android] open fun requestChildRectangleOnScreen(@NonNullparent: RecyclerView, @NonNullchild: @EnhancedNullability android/view/View, @NonNullrect: @EnhancedNullability android/graphics/Rect, immediate: Boolean): Boolean open fun requestChildRectangleOnScreen(@NonNullparent: RecyclerView, @NonNullchild: @EnhancedNullability android/view/View, @NonNullrect: @EnhancedNullability android/graphics/Rect, immediate: Boolean, focusedChildVisible: Boolean): Boolean |
| requestLayout | [android] open fun requestLayout() |
| requestSimpleAnimationsInNextLayout | [android] open fun requestSimpleAnimationsInNextLayout() |
| scrollHorizontallyBy | [android] open override fun scrollHorizontallyBy(dx: Int, recycler: RecyclerView.Recycler?, state: RecyclerView.State?): Int |
| scrollToPosition | [android] open override fun scrollToPosition(position: Int) |
| scrollToPositionWithOffset | [android] open override fun scrollToPositionWithOffset(position: Int, offset: Int) |
| scrollVerticallyBy | [android] open override fun scrollVerticallyBy(dy: Int, recycler: RecyclerView.Recycler?, state: RecyclerView.State?): Int |
| setMeasuredDimension | [android] open fun setMeasuredDimension(widthSize: Int, heightSize: Int) open fun setMeasuredDimension(childrenBounds: android/graphics/Rect??, wSpec: Int, hSpec: Int) |
| setStickyHeaderEvaluation | [android] fun setStickyHeaderEvaluation(evaluation: (ERROR CLASS: Symbol not found for View) -> Boolean) Offsets the horizontal location of the sticky header relative to the its default position. |
| setStickyHeaderTranslationX | [android] fun setStickyHeaderTranslationX(translationX: Float) Offsets the horizontal location of the sticky header relative to the its default position. |
| setStickyHeaderTranslationY | [android] fun setStickyHeaderTranslationY(translationY: Float) Offsets the vertical location of the sticky header relative to the its default position. |
| smoothScrollToPosition | [android] open fun smoothScrollToPosition(recyclerView: RecyclerView?, state: RecyclerView.State?, position: Int) |
| startSmoothScroll | [android] open fun startSmoothScroll(smoothScroller: RecyclerView.SmoothScroller?) |
| stopIgnoringView | [android] open fun stopIgnoringView(@NonNullview: @EnhancedNullability android/view/View) |
| supportsPredictiveItemAnimations | [android] open fun supportsPredictiveItemAnimations(): Boolean |