Smooth Calendar Layout Manager
open class SmoothCalendarLayoutManager(context: Context?, orientation: Int, reverseLayout: Boolean) : LinearLayoutManager
Content copied to clipboard
Layout manager for MaterialCalendar that slows the scroll down to appear smoother for months. Copied from Material Library Required for updated date picker EnterpriseDatePicker to work
Constructors
SmoothCalendarLayoutManager
Link copied to clipboard
fun SmoothCalendarLayoutManager(context: Context?, orientation: Int, reverseLayout: Boolean)
Content copied to clipboard
Types
Inherited properties
mAnchorInfo
Link copied to clipboard
mAutoMeasure
Link copied to clipboard
mChildHelper
Link copied to clipboard
mHorizontalBoundCheck
Link copied to clipboard
mIsAttachedToWindow
Link copied to clipboard
mOrientation
Link copied to clipboard
mOrientationHelper
Link copied to clipboard
mPendingSavedState
Link copied to clipboard
mPendingScrollPosition
Link copied to clipboard
mPendingScrollPositionOffset
Link copied to clipboard
mPrefetchMaxCountObserved
Link copied to clipboard
mPrefetchMaxObservedInInitialPrefetch
Link copied to clipboard
mRecyclerView
Link copied to clipboard
mRequestedSimpleAnimations
Link copied to clipboard
mShouldReverseLayout
Link copied to clipboard
mSmoothScroller
Link copied to clipboard
mVerticalBoundCheck
Link copied to clipboard
Functions
smoothScrollToPosition
Link copied to clipboard
open override fun smoothScrollToPosition(recyclerView: RecyclerView, state: RecyclerView.State, position: Int)
Content copied to clipboard
Inherited functions
addDisappearingView
Link copied to clipboard
assertInLayoutOrScroll
Link copied to clipboard
assertNotInLayoutOrScroll
Link copied to clipboard
attachView
Link copied to clipboard
open fun attachView(@NonNull() p0: View, p1: Int, p2: RecyclerView.LayoutParams)
Content copied to clipboard
calculateExtraLayoutSpace
Link copied to clipboard
open fun calculateExtraLayoutSpace(@NonNull() p0: RecyclerView.State, @NonNull() p1: IntArray)
Content copied to clipboard
calculateItemDecorationsForChild
Link copied to clipboard
open fun calculateItemDecorationsForChild(@NonNull() p0: View, @NonNull() p1: Rect)
Content copied to clipboard
canScrollHorizontally
Link copied to clipboard
canScrollVertically
Link copied to clipboard
checkLayoutParams
Link copied to clipboard
collectAdjacentPrefetchPositions
Link copied to clipboard
open override fun collectAdjacentPrefetchPositions(p0: Int, p1: Int, p2: RecyclerView.State, p3: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
Content copied to clipboard
collectInitialPrefetchPositions
Link copied to clipboard
open override fun collectInitialPrefetchPositions(p0: Int, p1: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
Content copied to clipboard
collectPrefetchPositionsForLayoutState
Link copied to clipboard
open fun collectPrefetchPositionsForLayoutState(p0: RecyclerView.State, p1: LinearLayoutManager.LayoutState, p2: RecyclerView.LayoutManager.LayoutPrefetchRegistry)
Content copied to clipboard
computeHorizontalScrollExtent
Link copied to clipboard
open override fun computeHorizontalScrollExtent(p0: RecyclerView.State): Int
Content copied to clipboard
computeHorizontalScrollOffset
Link copied to clipboard
open override fun computeHorizontalScrollOffset(p0: RecyclerView.State): Int
Content copied to clipboard
computeHorizontalScrollRange
Link copied to clipboard
open override fun computeHorizontalScrollRange(p0: RecyclerView.State): Int
Content copied to clipboard
computeScrollVectorForPosition
Link copied to clipboard
computeVerticalScrollExtent
Link copied to clipboard
open override fun computeVerticalScrollExtent(p0: RecyclerView.State): Int
Content copied to clipboard
computeVerticalScrollOffset
Link copied to clipboard
open override fun computeVerticalScrollOffset(p0: RecyclerView.State): Int
Content copied to clipboard
computeVerticalScrollRange
Link copied to clipboard
open override fun computeVerticalScrollRange(p0: RecyclerView.State): Int
Content copied to clipboard
convertFocusDirectionToLayoutDirection
Link copied to clipboard
createLayoutState
Link copied to clipboard
detachAndScrapAttachedViews
Link copied to clipboard
open fun detachAndScrapAttachedViews(@NonNull() p0: RecyclerView.Recycler)
Content copied to clipboard
detachAndScrapView
Link copied to clipboard
open fun detachAndScrapView(@NonNull() p0: View, @NonNull() p1: RecyclerView.Recycler)
Content copied to clipboard
detachAndScrapViewAt
Link copied to clipboard
open fun detachAndScrapViewAt(p0: Int, @NonNull() p1: RecyclerView.Recycler)
Content copied to clipboard
detachView
Link copied to clipboard
detachViewAt
Link copied to clipboard
dispatchAttachedToWindow
Link copied to clipboard
dispatchDetachedFromWindow
Link copied to clipboard
open fun dispatchDetachedFromWindow(p0: RecyclerView, p1: RecyclerView.Recycler)
Content copied to clipboard
endAnimation
Link copied to clipboard
ensureLayoutState
Link copied to clipboard
open fun ensureLayoutState()
Content copied to clipboard
fill
Link copied to clipboard
open fun fill(p0: RecyclerView.Recycler, p1: LinearLayoutManager.LayoutState, p2: RecyclerView.State, p3: Boolean): Int
Content copied to clipboard
findContainingItemView
Link copied to clipboard
findFirstCompletelyVisibleItemPosition
Link copied to clipboard
findFirstVisibleChildClosestToEnd
Link copied to clipboard
open fun findFirstVisibleChildClosestToEnd(p0: Boolean, p1: Boolean): View
Content copied to clipboard
findFirstVisibleChildClosestToStart
Link copied to clipboard
open fun findFirstVisibleChildClosestToStart(p0: Boolean, p1: Boolean): View
Content copied to clipboard
findFirstVisibleItemPosition
Link copied to clipboard
findLastCompletelyVisibleItemPosition
Link copied to clipboard
findLastVisibleItemPosition
Link copied to clipboard
findOnePartiallyOrCompletelyInvisibleChild
Link copied to clipboard
open fun findOnePartiallyOrCompletelyInvisibleChild(p0: Int, p1: Int): View
Content copied to clipboard
findOneVisibleChild
Link copied to clipboard
findReferenceChild
Link copied to clipboard
open fun findReferenceChild(p0: RecyclerView.Recycler, p1: RecyclerView.State, p2: Int, p3: Int, p4: Int): View
Content copied to clipboard
findViewByPosition
Link copied to clipboard
generateDefaultLayoutParams
Link copied to clipboard
open override fun generateDefaultLayoutParams(): RecyclerView.LayoutParams
Content copied to clipboard
generateLayoutParams
Link copied to clipboard
open fun generateLayoutParams(p0: ViewGroup.LayoutParams): RecyclerView.LayoutParams
Content copied to clipboard
open fun generateLayoutParams(p0: Context, p1: AttributeSet): RecyclerView.LayoutParams
Content copied to clipboard
getBaseline
Link copied to clipboard
getBottomDecorationHeight
Link copied to clipboard
getChildAt
Link copied to clipboard
getChildCount
Link copied to clipboard
getClipToPadding
Link copied to clipboard
getColumnCountForAccessibility
Link copied to clipboard
open fun getColumnCountForAccessibility(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State): Int
Content copied to clipboard
getDecoratedBottom
Link copied to clipboard
getDecoratedBoundsWithMargins
Link copied to clipboard
open fun getDecoratedBoundsWithMargins(@NonNull() p0: View, @NonNull() p1: Rect)
Content copied to clipboard
getDecoratedLeft
Link copied to clipboard
getDecoratedMeasuredHeight
Link copied to clipboard
getDecoratedMeasuredWidth
Link copied to clipboard
getDecoratedRight
Link copied to clipboard
getDecoratedTop
Link copied to clipboard
getExtraLayoutSpace
Link copied to clipboard
getFocusedChild
Link copied to clipboard
getHeightMode
Link copied to clipboard
getInitialPrefetchItemCount
Link copied to clipboard
getItemCount
Link copied to clipboard
getItemViewType
Link copied to clipboard
getLayoutDirection
Link copied to clipboard
getLeftDecorationWidth
Link copied to clipboard
getMinimumHeight
Link copied to clipboard
getMinimumWidth
Link copied to clipboard
getOrientation
Link copied to clipboard
getPaddingBottom
Link copied to clipboard
getPaddingEnd
Link copied to clipboard
getPaddingLeft
Link copied to clipboard
getPaddingRight
Link copied to clipboard
getPaddingStart
Link copied to clipboard
getPaddingTop
Link copied to clipboard
getPosition
Link copied to clipboard
getRecycleChildrenOnDetach
Link copied to clipboard
getReverseLayout
Link copied to clipboard
getRightDecorationWidth
Link copied to clipboard
getRowCountForAccessibility
Link copied to clipboard
open fun getRowCountForAccessibility(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State): Int
Content copied to clipboard
getSelectionModeForAccessibility
Link copied to clipboard
open fun getSelectionModeForAccessibility(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State): Int
Content copied to clipboard
getStackFromEnd
Link copied to clipboard
getTopDecorationHeight
Link copied to clipboard
getTransformedBoundingBox
Link copied to clipboard
getWidthMode
Link copied to clipboard
hasFlexibleChildInBothOrientations
Link copied to clipboard
ignoreView
Link copied to clipboard
isAttachedToWindow
Link copied to clipboard
isAutoMeasureEnabled
Link copied to clipboard
isItemPrefetchEnabled
Link copied to clipboard
isLayoutHierarchical
Link copied to clipboard
open fun isLayoutHierarchical(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State): Boolean
Content copied to clipboard
isLayoutRTL
Link copied to clipboard
isMeasurementCacheEnabled
Link copied to clipboard
isSmoothScrollbarEnabled
Link copied to clipboard
isSmoothScrolling
Link copied to clipboard
isViewPartiallyVisible
Link copied to clipboard
layoutChunk
Link copied to clipboard
open fun layoutChunk(p0: RecyclerView.Recycler, p1: RecyclerView.State, p2: LinearLayoutManager.LayoutState, p3: LinearLayoutManager.LayoutChunkResult)
Content copied to clipboard
layoutDecorated
Link copied to clipboard
layoutDecoratedWithMargins
Link copied to clipboard
measureChild
Link copied to clipboard
measureChildWithMargins
Link copied to clipboard
offsetChildrenHorizontal
Link copied to clipboard
offsetChildrenVertical
Link copied to clipboard
onAdapterChanged
Link copied to clipboard
open fun onAdapterChanged(@Nullable() p0: RecyclerView.Adapter<RecyclerView.ViewHolder>?, @Nullable() p1: RecyclerView.Adapter<RecyclerView.ViewHolder>?)
Content copied to clipboard
onAddFocusables
Link copied to clipboard
open fun onAddFocusables(@NonNull() p0: RecyclerView, @NonNull() p1: ArrayList<View>, p2: Int, p3: Int): Boolean
Content copied to clipboard
onAnchorReady
Link copied to clipboard
open fun onAnchorReady(p0: RecyclerView.Recycler, p1: RecyclerView.State, p2: LinearLayoutManager.AnchorInfo, p3: Int)
Content copied to clipboard
onAttachedToWindow
Link copied to clipboard
onDetachedFromWindow
Link copied to clipboard
open override fun onDetachedFromWindow(p0: RecyclerView, p1: RecyclerView.Recycler)
Content copied to clipboard
onFocusSearchFailed
Link copied to clipboard
open override fun onFocusSearchFailed(p0: View, p1: Int, p2: RecyclerView.Recycler, p3: RecyclerView.State): View?
Content copied to clipboard
onInitializeAccessibilityEvent
Link copied to clipboard
open fun onInitializeAccessibilityEvent(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State, @NonNull() p2: AccessibilityEvent)
Content copied to clipboard
onInitializeAccessibilityNodeInfo
Link copied to clipboard
open fun onInitializeAccessibilityNodeInfo(p0: AccessibilityNodeInfoCompat)
Content copied to clipboard
open fun onInitializeAccessibilityNodeInfo(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State, @NonNull() p2: AccessibilityNodeInfoCompat)
Content copied to clipboard
onInitializeAccessibilityNodeInfoForItem
Link copied to clipboard
open fun onInitializeAccessibilityNodeInfoForItem(p0: View, p1: AccessibilityNodeInfoCompat)
Content copied to clipboard
open fun onInitializeAccessibilityNodeInfoForItem(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State, @NonNull() p2: View, @NonNull() p3: AccessibilityNodeInfoCompat)
Content copied to clipboard
onInterceptFocusSearch
Link copied to clipboard
onItemsAdded
Link copied to clipboard
onItemsChanged
Link copied to clipboard
onItemsMoved
Link copied to clipboard
open fun onItemsMoved(@NonNull() p0: RecyclerView, p1: Int, p2: Int, p3: Int)
Content copied to clipboard
onItemsRemoved
Link copied to clipboard
onItemsUpdated
Link copied to clipboard
open fun onItemsUpdated(@NonNull() p0: RecyclerView, p1: Int, p2: Int, @Nullable() p3: Any?)
Content copied to clipboard
onLayoutChildren
Link copied to clipboard
open override fun onLayoutChildren(p0: RecyclerView.Recycler, p1: RecyclerView.State)
Content copied to clipboard
onLayoutCompleted
Link copied to clipboard
onMeasure
Link copied to clipboard
open fun onMeasure(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State, p2: Int, p3: Int)
Content copied to clipboard
onRequestChildFocus
Link copied to clipboard
open fun onRequestChildFocus(@NonNull() p0: RecyclerView, @NonNull() p1: View, @Nullable() p2: View?): Boolean
Content copied to clipboard
open fun onRequestChildFocus(@NonNull() p0: RecyclerView, @NonNull() p1: RecyclerView.State, @NonNull() p2: View, @Nullable() p3: View?): Boolean
Content copied to clipboard
onRestoreInstanceState
Link copied to clipboard
onSaveInstanceState
Link copied to clipboard
onScrollStateChanged
Link copied to clipboard
onSmoothScrollerStopped
Link copied to clipboard
performAccessibilityAction
Link copied to clipboard
open fun performAccessibilityAction(p0: Int, @Nullable() p1: Bundle?): Boolean
Content copied to clipboard
open fun performAccessibilityAction(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State, p2: Int, @Nullable() p3: Bundle?): Boolean
Content copied to clipboard
performAccessibilityActionForItem
Link copied to clipboard
open fun performAccessibilityActionForItem(@NonNull() p0: View, p1: Int, @Nullable() p2: Bundle?): Boolean
Content copied to clipboard
open fun performAccessibilityActionForItem(@NonNull() p0: RecyclerView.Recycler, @NonNull() p1: RecyclerView.State, @NonNull() p2: View, p3: Int, @Nullable() p4: Bundle?): Boolean
Content copied to clipboard
postOnAnimation
Link copied to clipboard
prepareForDrop
Link copied to clipboard
removeAllViews
Link copied to clipboard
open fun removeAllViews()
Content copied to clipboard
removeAndRecycleAllViews
Link copied to clipboard
removeAndRecycleScrapInt
Link copied to clipboard
removeAndRecycleView
Link copied to clipboard
open fun removeAndRecycleView(@NonNull() p0: View, @NonNull() p1: RecyclerView.Recycler)
Content copied to clipboard
removeAndRecycleViewAt
Link copied to clipboard
open fun removeAndRecycleViewAt(p0: Int, @NonNull() p1: RecyclerView.Recycler)
Content copied to clipboard
removeCallbacks
Link copied to clipboard
removeDetachedView
Link copied to clipboard
removeView
Link copied to clipboard
removeViewAt
Link copied to clipboard
requestChildRectangleOnScreen
Link copied to clipboard
open fun requestChildRectangleOnScreen(@NonNull() p0: RecyclerView, @NonNull() p1: View, @NonNull() p2: Rect, p3: Boolean): Boolean
Content copied to clipboard
open fun requestChildRectangleOnScreen(@NonNull() p0: RecyclerView, @NonNull() p1: View, @NonNull() p2: Rect, p3: Boolean, p4: Boolean): Boolean
Content copied to clipboard
requestLayout
Link copied to clipboard
open fun requestLayout()
Content copied to clipboard
requestSimpleAnimationsInNextLayout
Link copied to clipboard
open fun requestSimpleAnimationsInNextLayout()
Content copied to clipboard
resolveIsInfinite
Link copied to clipboard
scrollBy
Link copied to clipboard
open fun scrollBy(p0: Int, p1: RecyclerView.Recycler, p2: RecyclerView.State): Int
Content copied to clipboard
scrollHorizontallyBy
Link copied to clipboard
open override fun scrollHorizontallyBy(p0: Int, p1: RecyclerView.Recycler, p2: RecyclerView.State): Int
Content copied to clipboard
scrollToPosition
Link copied to clipboard
scrollToPositionWithOffset
Link copied to clipboard
scrollVerticallyBy
Link copied to clipboard
open override fun scrollVerticallyBy(p0: Int, p1: RecyclerView.Recycler, p2: RecyclerView.State): Int
Content copied to clipboard
setAutoMeasureEnabled
Link copied to clipboard
setExactMeasureSpecsFrom
Link copied to clipboard
setInitialPrefetchItemCount
Link copied to clipboard
setItemPrefetchEnabled
Link copied to clipboard
setMeasuredDimension
Link copied to clipboard
setMeasuredDimensionFromChildren
Link copied to clipboard
setMeasurementCacheEnabled
Link copied to clipboard
setMeasureSpecs
Link copied to clipboard
setOrientation
Link copied to clipboard
setRecycleChildrenOnDetach
Link copied to clipboard
setRecyclerView
Link copied to clipboard
setReverseLayout
Link copied to clipboard
setSmoothScrollbarEnabled
Link copied to clipboard
setStackFromEnd
Link copied to clipboard
shouldMeasureChild
Link copied to clipboard
open fun shouldMeasureChild(p0: View, p1: Int, p2: Int, p3: RecyclerView.LayoutParams): Boolean
Content copied to clipboard
shouldMeasureTwice
Link copied to clipboard
shouldReMeasureChild
Link copied to clipboard
open fun shouldReMeasureChild(p0: View, p1: Int, p2: Int, p3: RecyclerView.LayoutParams): Boolean
Content copied to clipboard
startSmoothScroll
Link copied to clipboard
stopIgnoringView
Link copied to clipboard
stopSmoothScroller
Link copied to clipboard
open fun stopSmoothScroller()
Content copied to clipboard
supportsPredictiveItemAnimations
Link copied to clipboard
validateChildOrder
Link copied to clipboard
open fun validateChildOrder()
Content copied to clipboard