Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Doist/RecyclerViewExtensions
/ functions
Functions
361 in github.com/Doist/RecyclerViewExtensions
⨍
Functions
361
◇
Types & classes
56
↓ 35 callers
Method
remove
(int index)
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:58
↓ 32 callers
Method
add
(long id, long contentHash)
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:39
↓ 31 callers
Method
size
()
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:27
↓ 15 callers
Method
attachStickyHeader
()
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:314
↓ 15 callers
Method
detachStickyHeader
()
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:308
↓ 13 callers
Method
clear
()
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:67
↓ 11 callers
Method
setDuration
(long duration)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/FlipperAnimator.java:21
↓ 10 callers
Method
start
Starts drag and drop for {@code position} as soon as there is a touch event, or immediately if one is in progress. @return {@code true} if drag is st
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:285
↓ 9 callers
Method
getItemCount
()
Animations/src/main/java/io/doist/recyclerviewext/animations/DataSetDiffer.java:175
↓ 8 callers
Method
getItemId
Return a unique id for this item, which is used to locate it in the data set.
Animations/src/main/java/io/doist/recyclerviewext/animations/DataSetDiffer.java:180
↓ 8 callers
Method
getViewHolder
@return the view holder being dragged, updated automatically through adapter changes, swaps, scrolls, etc.
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:802
↓ 6 callers
Method
dispatchFinishedWhenDone
Check the state of currently pending and running animations. If there are none pending/running, call {@link #dispatchAnimationsFinished()} to notify a
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:514
↓ 6 callers
Method
getContentHash
(int index)
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:23
↓ 5 callers
Method
ensureCapacity
(int minimumCapacity)
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:71
↓ 5 callers
Method
findHeaderIndexOrNext
Finds the header index of {@code position} or the one next to it in {@code mHeaderPositions}.
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:629
↓ 5 callers
Method
getId
(int index)
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:19
↓ 5 callers
Method
getX
Returns the position in the X axis to position the header appropriately, depending on orientation, direction and {@link android.R.attr#clipToPadding}.
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:561
↓ 5 callers
Method
getY
Returns the position in the Y axis to position the header appropriately, depending on orientation, direction and {@link android.R.attr#clipToPadding}.
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:530
↓ 5 callers
Method
notifyItemChanged
(long id)
Selectors/src/main/java/io/doist/recyclerviewext/choice_modes/Selector.java:112
↓ 5 callers
Method
onSelectionChanged
(long[] selectedIds, long[] previousSelectedIds)
Selectors/src/main/java/io/doist/recyclerviewext/choice_modes/Selector.java:142
↓ 5 callers
Method
resetAnimation
(ViewHolder holder)
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:486
↓ 5 callers
Method
stop
Stops the current drag and drop, animating the item into its final position.
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:345
↓ 4 callers
Method
cancelAll
(List<ViewHolder> viewHolders)
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:606
↓ 4 callers
Method
findHeaderIndex
Finds the header index of {@code position} in {@code mHeaderPositions}.
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:591
↓ 4 callers
Method
getItemContentHash
Return a content hash of this item, which is used to detect changes in it.
Animations/src/main/java/io/doist/recyclerviewext/animations/DataSetDiffer.java:185
↓ 4 callers
Method
getSelectedIds
()
Selectors/src/main/java/io/doist/recyclerviewext/choice_modes/MultiSelector.java:47
↓ 4 callers
Method
getSelectedIds
()
Selectors/src/main/java/io/doist/recyclerviewext/choice_modes/SingleSelector.java:51
↓ 4 callers
Method
getViewCenterX
(View view)
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:755
↓ 4 callers
Method
getViewCenterY
(View view)
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:759
↓ 4 callers
Method
onItemRangeChanged
(int positionStart, int itemCount)
Animations/src/main/java/io/doist/recyclerviewext/animations/DiffHandler.java:7
↓ 4 callers
Method
scrapStickyHeader
Returns {@link #mStickyHeader} to the {@link RecyclerView}'s {@link RecyclerView.RecycledViewPool}, assigning it to {@code null}. @param recycler If
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:460
↓ 3 callers
Method
checkCount
()
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:196
↓ 3 callers
Method
dispatchTouchEvent
(View view, int action, float x, float y)
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropTouchDragListener.java:49
↓ 3 callers
Method
endChangeAnimationIfNecessary
(ChangeInfo changeInfo)
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:400
↓ 3 callers
Method
getDuration
()
Flippers/src/main/java/io/doist/recyclerviewext/flippers/FlipperAnimator.java:17
↓ 3 callers
Method
getItemCount
()
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:746
↓ 3 callers
Method
getPosition
@return the position being dragged, updated automatically through adapter changes.
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:781
↓ 3 callers
Method
getSpan
(ScaleGestureDetector detector)
PinchZoom/src/main/java/io/doist/recyclerviewext/pinch_zoom/PinchZoomItemTouchListener.java:186
↓ 3 callers
Method
hasDivider
(RecyclerView parent, View child)
Dividers/src/main/java/io/doist/recyclerviewext/dividers/DividerItemDecoration.java:167
↓ 3 callers
Method
isRunning
()
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:494
↓ 3 callers
Method
isSelected
(long id)
Selectors/src/main/java/io/doist/recyclerviewext/choice_modes/Selector.java:45
↓ 3 callers
Method
replace
(View outView, View inView)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/Flipper.java:21
↓ 3 callers
Method
replaceDelayed
FlippersDelayed/src/main/java/io/doist/recyclerviewext/flippers/DelayedFlipper.kt:29
↓ 3 callers
Method
replaceNoAnimation
(View outView, View inView)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/Flipper.java:32
↓ 3 callers
Method
run
()
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:121
↓ 3 callers
Method
scrollToPosition
(int position)
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:166
↓ 3 callers
Method
setAdapter
(RecyclerView.Adapter adapter)
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:92
↓ 3 callers
Method
setPendingScroll
(int position, int offset)
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:645
↓ 3 callers
Method
setSelected
(long id, boolean selected)
Selectors/src/main/java/io/doist/recyclerviewext/choice_modes/Selector.java:39
↓ 3 callers
Method
setTranslation
(@NonNull RecyclerView.ViewHolder viewHolder, float translationX, float translationY)
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:522
↓ 3 callers
Method
startObservingItems
()
Animations/src/main/java/io/doist/recyclerviewext/animations/DataSetDiffer.java:163
↓ 3 callers
Method
stopInternal
()
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:375
↓ 3 callers
Method
stopObservingItems
()
Animations/src/main/java/io/doist/recyclerviewext/animations/DataSetDiffer.java:167
↓ 3 callers
Method
updateStickyHeader
Updates the sticky header state (creation, binding, display), to be called whenever there's a layout or scroll
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:323
↓ 2 callers
Method
bind
(Object object)
Samples/src/main/java/io/doist/recyclerviewext/demo/DemoAdapter.java:170
↓ 2 callers
Method
drawDivider
(Canvas canvas, int left, int top, int right, int bottom, float alpha)
Dividers/src/main/java/io/doist/recyclerviewext/dividers/DividerItemDecoration.java:145
↓ 2 callers
Method
endChangeAnimation
(List<ChangeInfo> infoList, ViewHolder item)
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:389
↓ 2 callers
Method
execute
(@NonNull final Runnable r)
Animations/src/main/java/io/doist/recyclerviewext/animations/LatestTaskAsyncTaskExecutor.java:15
↓ 2 callers
Method
executeFlip
(final View outView, final View inView, final boolean animate)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:96
↓ 2 callers
Method
findHeaderIndexOrBefore
Finds the header index of {@code position} or the one before it in {@code mHeaderPositions}.
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:610
↓ 2 callers
Method
flipLoading
(final View outView, final View inView, final boolean animate)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/ProgressEmptyRecyclerFlipper.java:142
↓ 2 callers
Method
getAdapterItems
()
Samples/src/main/java/io/doist/recyclerviewext/demo/DemoActivity.java:124
↓ 2 callers
Method
getEmptyView
()
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:118
↓ 2 callers
Method
getFlipper
()
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:122
↓ 2 callers
Method
getItemViewType
(int position)
Samples/src/main/java/io/doist/recyclerviewext/demo/DemoAdapter.java:94
↓ 2 callers
Method
getNextSize
()
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:104
↓ 2 callers
Method
getRecyclerView
()
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:114
↓ 2 callers
Method
getSelectedIds
()
Selectors/src/main/java/io/doist/recyclerviewext/choice_modes/Selector.java:47
↓ 2 callers
Method
getStartLeft
@return the view's left when it was setup for the first time.
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:788
↓ 2 callers
Method
getStartTop
@return the view's top when it was setup for the first time.
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:795
↓ 2 callers
Method
getTranslateProperty
()
PinchZoom/src/main/java/io/doist/recyclerviewext/pinch_zoom/PinchZoomItemTouchListener.java:194
↓ 2 callers
Method
handleMotionEvent
(@NonNull MotionEvent event)
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:440
↓ 2 callers
Method
handleScroll
Scrolls the {@link RecyclerView} when the touch is close to the edges. Scrolling starts when the touch is width / height (of the {@link androidx.recyc
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:585
↓ 2 callers
Method
handleSwap
Swaps {@code viewHolder} whenever it overlaps the boundaries of another {@link RecyclerView.ViewHolder}.
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:530
↓ 2 callers
Method
handleTranslation
Offsets the dragged view based on the touch position, clamping its location to the parent.
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:510
↓ 2 callers
Method
indexOfId
(long id, int startPosition)
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:79
↓ 2 callers
Method
init
(Drawable drawable, boolean vertical, Dividers dividers)
Dividers/src/main/java/io/doist/recyclerviewext/dividers/DividerItemDecoration.java:77
↓ 2 callers
Method
isStickyHeader
(int position)
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeaders.java:12
↓ 2 callers
Method
measureAndLayout
Measures and lays out {@code stickyHeader}.
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:445
↓ 2 callers
Method
onFlipCompleted
(View outView, View inView, boolean animate)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:90
↓ 2 callers
Method
onItemRangeInserted
(int positionStart, int itemCount)
Animations/src/main/java/io/doist/recyclerviewext/animations/DiffHandler.java:9
↓ 2 callers
Method
onItemRangeRemoved
(int positionStart, int itemCount)
Animations/src/main/java/io/doist/recyclerviewext/animations/DiffHandler.java:11
↓ 2 callers
Method
onLoadingFlipped
(View outView, View inView, boolean animate)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/ProgressEmptyRecyclerFlipper.java:92
↓ 2 callers
Method
recoverInternal
( @NonNull RecyclerView.ViewHolder viewHolder, @Nullable RecyclerView.ItemAnimator itemAnimator)
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:402
↓ 2 callers
Method
replaceInternal
(View outView, View inView, boolean animate)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/Flipper.java:44
↓ 2 callers
Method
run
()
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:99
↓ 2 callers
Method
scheduleNext
()
Animations/src/main/java/io/doist/recyclerviewext/animations/LatestTaskAsyncTaskExecutor.java:30
↓ 2 callers
Method
scrollToPositionWithOffset
(int position, int offset)
StickyHeaders/src/main/java/io/doist/recyclerviewext/sticky_headers/StickyHeadersLinearLayoutManager.java:171
↓ 2 callers
Method
setContentHash
(int index, long contentHash)
Animations/src/main/java/io/doist/recyclerviewext/animations/Items.java:35
↓ 2 callers
Method
setDataset
(List<Object> dataset)
Samples/src/main/java/io/doist/recyclerviewext/demo/DemoAdapter.java:43
↓ 2 callers
Method
setLayout
(int layout)
Samples/src/main/java/io/doist/recyclerviewext/demo/DemoActivity.java:143
↓ 2 callers
Method
setLoading
(boolean isLoading)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/ProgressEmptyRecyclerFlipper.java:76
↓ 2 callers
Method
setSelector
(Selector selector)
Samples/src/main/java/io/doist/recyclerviewext/demo/DemoAdapter.java:48
↓ 2 callers
Method
showContent
(boolean animate)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:82
↓ 2 callers
Method
showEmpty
(boolean animate)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/EmptyRecyclerFlipper.java:86
↓ 2 callers
Method
teardownViewHolder
(boolean destroy)
DragDrop/src/main/java/io/doist/recyclerviewext/dragdrop/DragDropHelper.java:832
↓ 1 callers
Method
animateAddImpl
(final ViewHolder holder)
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:224
↓ 1 callers
Method
animateChangeImpl
(final ChangeInfo changeInfo)
Animations/src/main/java/io/doist/recyclerviewext/animations/WithLayerItemAnimator.java:337
↓ 1 callers
Method
animateDataSetChanged
Analyzes the data set using {@link #getItemId(int)} and {@link #getItemContentHash(int)} and calls the necessary {@code notify } methods to go from th
Animations/src/main/java/io/doist/recyclerviewext/animations/AnimatedAdapter.java:53
↓ 1 callers
Method
animateFlip
(View out, View in)
Flippers/src/main/java/io/doist/recyclerviewext/flippers/FlipperAnimator.java:13
next →
1–100 of 361, ranked by callers