Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DrownCoder/RecyclerViewStudy
/ functions
Functions
867 in github.com/DrownCoder/RecyclerViewStudy
⨍
Functions
867
◇
Types & classes
56
↓ 1 callers
Method
getRowCountForAccessibility
Returns the number of rows for accessibility. <p> Default implementation returns the number of items in the adapter if LayoutManager supports vertical
app/src/main/assets/RecyclerView.java:10710
↓ 1 callers
Method
getScrapCount
()
app/src/main/assets/RecyclerView.java:6469
↓ 1 callers
Method
getScrapList
Returns an unmodifiable list of ViewHolders that are currently in the scrap list. @return List of ViewHolders in the scrap list.
app/src/main/assets/RecyclerView.java:5790
↓ 1 callers
Method
getScrapOrCachedViewForId
(long id, int type, boolean dryRun)
app/src/main/assets/RecyclerView.java:6584
↓ 1 callers
Method
getScrapOrHiddenOrCachedHolderForPosition
Returns a view for the position either from attach scrap, hidden children, or cache. @param position Item position @param dryRun Does a dry run, fin
app/src/main/assets/RecyclerView.java:6524
↓ 1 callers
Method
getScrapViewAt
(int index)
app/src/main/assets/RecyclerView.java:6473
↓ 1 callers
Method
getScrollState
Return the current scrolling state of the RecyclerView. @return {@link #SCROLL_STATE_IDLE}, {@link #SCROLL_STATE_DRAGGING} or {@link #SCROLL_STATE_SE
app/src/main/assets/RecyclerView.java:1560
↓ 1 callers
Method
getSelectionModeForAccessibility
Returns the selection mode for accessibility. Should be {@link AccessibilityNodeInfoCompat.CollectionInfoCompat#SELECTION_MODE_NONE}, {@link Accessibi
app/src/main/assets/RecyclerView.java:10692
↓ 1 callers
Method
getTopDecorationHeight
Returns the total height of item decorations applied to child's top. <p> Note that this value is not updated until the View is measured or {@link #cal
app/src/main/assets/RecyclerView.java:9872
↓ 1 callers
Method
getViewForPosition
Obtain a view initialized for the given position. This method should be used by {@link LayoutManager} implementations to obtain views to represent da
app/src/main/assets/RecyclerView.java:5961
↓ 1 callers
Method
getViewForPositionAndType
Returns a View that can be binded to the given Adapter position. <p> This method should <b>not</b> create a new View. Instead, it is expected to retur
app/src/main/assets/RecyclerView.java:6857
↓ 1 callers
Method
handleMissingPreInfoForChangeError
This handles the case where there is an unexpected VH missing in the pre-layout map. <p> We might be able to detect the error in the application which
app/src/main/assets/RecyclerView.java:4112
↓ 1 callers
Method
hasFlexibleChildInBothOrientations
()
app/src/main/assets/RecyclerView.java:10880
↓ 1 callers
Method
hasJumpTarget
()
app/src/main/assets/RecyclerView.java:12421
↓ 1 callers
Method
hasMore
当前的位置不在顶并且不在可绘制的区域的底部 @param state @return
app/src/main/assets/LinearLayoutManager.java:2421
↓ 1 callers
Method
hasNestedScrollingParent
()
app/src/main/assets/RecyclerView.java:11867
↓ 1 callers
Method
hasObservers
Returns true if one or more observers are attached to this adapter. @return true if this adapter has observers
app/src/main/assets/RecyclerView.java:7171
↓ 1 callers
Method
hasTargetScrollPosition
Returns if current scroll has a target position. @return true if scroll is being triggered to make a certain position visible @see #getTargetScrollPos
app/src/main/assets/RecyclerView.java:12933
↓ 1 callers
Method
hasUpdatedView
@return True if an existing view holder needs to be updated
app/src/main/assets/RecyclerView.java:1914
↓ 1 callers
Method
hasUpdates
()
app/src/main/assets/AdapterHelper.java:628
↓ 1 callers
Method
hashCode
()
app/src/main/assets/AdapterHelper.java:721
↓ 1 callers
Method
initAdapterManager
()
app/src/main/assets/RecyclerView.java:943
↓ 1 callers
Method
initChildrenHelper
()
app/src/main/assets/RecyclerView.java:820
↓ 1 callers
Method
initFastScroller
(StateListDrawable verticalThumbDrawable, Drawable verticalTrackDrawable, StateListD
app/src/main/assets/RecyclerView.java:11817
↓ 1 callers
Method
initOperate
()
app/src/main/java/com/study/xuan/recyclerviewstudy/MainActivity.java:83
↓ 1 callers
Method
initPool
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:38
↓ 1 callers
Method
invalidateDisplayListInt
(ViewHolder holder)
app/src/main/assets/RecyclerView.java:6179
↓ 1 callers
Method
isAdapterPositionUnknown
()
app/src/main/assets/RecyclerView.java:11591
↓ 1 callers
Method
isFocusedChildVisibleAfterScrolling
Returns whether the currently focused child stays within RV's bounds with the given amount of scrolling. @param parent The parent RecyclerView. @param
app/src/main/assets/RecyclerView.java:10134
↓ 1 callers
Method
isLayoutHierarchical
Returns whether layout is hierarchical or not to be used for accessibility. <p> Default implementation returns false. @param recycler The Recycler th
app/src/main/assets/RecyclerView.java:10750
↓ 1 callers
Method
isPreferredNextFocus
Checks if the new focus candidate is a good enough candidate such that RecyclerView will assign it as the next focus View instead of letting view hier
app/src/main/assets/RecyclerView.java:2680
↓ 1 callers
Method
isRunning
@return True if SmoothScroller is currently active
app/src/main/assets/RecyclerView.java:12185
↓ 1 callers
Method
isSmoothScrolling
@return true if RecycylerView is currently in the state of smooth scrolling.
app/src/main/assets/RecyclerView.java:8495
↓ 1 callers
Method
isViewInvalid
Returns true if the view this LayoutParams is attached to is now representing potentially invalid data. A LayoutManager should scrap/recycle it. @ret
app/src/main/assets/RecyclerView.java:11970
↓ 1 callers
Method
isViewValidAsAnchor
(View child, RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:2626
↓ 1 callers
Method
jumpToPositionForSmoothScroller
(int position)
app/src/main/assets/RecyclerView.java:1801
↓ 1 callers
Method
layoutChunk
(RecyclerView.Recycler recycler, RecyclerView.State state, LayoutState layoutState, Layou
app/src/main/assets/LinearLayoutManager.java:1694
↓ 1 callers
Method
layoutDecoratedWithMargins
Lay out the given child view within the RecyclerView using coordinates that include any current {@link ItemDecoration ItemDecorations} and margins. <
app/src/main/assets/RecyclerView.java:9713
↓ 1 callers
Method
layoutForPredictiveAnimations
If necessary, layouts new items for predictive animations
app/src/main/assets/LinearLayoutManager.java:787
↓ 1 callers
Method
logPoolVH
(RecyclerView.RecycledViewPool pool)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyLog.java:44
↓ 1 callers
Method
markKnownViewsInvalid
Mark all known views as invalid. Used in response to a, "the whole world might have changed" data change event.
app/src/main/assets/RecyclerView.java:4575
↓ 1 callers
Method
measureChildWithMargins
Measure a child view using standard measurement policy, taking the padding of the parent RecyclerView, any added item decorations and the child margin
app/src/main/assets/RecyclerView.java:9486
↓ 1 callers
Method
moveView
Moves a View from one position to another. @param fromIndex The View's initial index @param toIndex The View's target index
app/src/main/assets/RecyclerView.java:8917
↓ 1 callers
Method
next
Gets the view for the next element that we should layout. Also updates current item index to the next item, based on {@link #mItemDirection} @return
app/src/main/assets/LinearLayoutManager.java:2433
↓ 1 callers
Method
nextViewFromScrapList
Returns the next item from the scrap list. <p> Upon finding a valid VH, sets current item position to VH.itemPosition + mItemDirection @return View i
app/src/main/assets/LinearLayoutManager.java:2453
↓ 1 callers
Method
nextViewInLimitedList
(View ignore)
app/src/main/assets/LinearLayoutManager.java:2483
↓ 1 callers
Method
notifyChanged
()
app/src/main/assets/RecyclerView.java:12564
↓ 1 callers
Method
notifyDataSetChanged
Notify any registered observers that the data set has changed. <p>There are two different classes of data change events, item changes and structural
app/src/main/assets/RecyclerView.java:7268
↓ 1 callers
Method
notifyItemChanged
Notify any registered observers that the item at <code>position</code> has changed. Equivalent to calling <code>notifyItemChanged(position, null);</co
app/src/main/assets/RecyclerView.java:7286
↓ 1 callers
Method
notifyItemRangeInserted
Notify any registered observers that the currently reflected <code>itemCount</code> items starting at <code>positionStart</code> have been newly inser
app/src/main/assets/RecyclerView.java:7425
↓ 1 callers
Method
notifyItemRangeRemoved
Notify any registered observers that the <code>itemCount</code> items previously located at <code>positionStart</code> have been removed from the data
app/src/main/assets/RecyclerView.java:7463
↓ 1 callers
Method
notifyItemRemoved
Notify any registered observers that the item previously located at <code>position</code> has been removed from the data set. The items previously loc
app/src/main/assets/RecyclerView.java:7444
↓ 1 callers
Method
offsetPositionRecordsForInsert
(int positionStart, int itemCount)
app/src/main/assets/RecyclerView.java:4464
↓ 1 callers
Method
offsetPositionRecordsForMove
(int from, int to)
app/src/main/assets/RecyclerView.java:4430
↓ 1 callers
Method
offsetPositionsForRemovingLaidOutOrNewView
(int positionStart, int itemCount)
app/src/main/assets/AdapterHelper.java:770
↓ 1 callers
Method
onAddFocusables
Called to populate focusable views within the RecyclerView. <p>The LayoutManager implementation should return <code>true</code> if the default behavi
app/src/main/assets/RecyclerView.java:10231
↓ 1 callers
Method
onAnchorReady
Method called when Anchor position is decided. Extending class can setup accordingly or even update anchor info if necessary. @param recycler
app/src/main/assets/LinearLayoutManager.java:778
↓ 1 callers
Method
onAnimationFinished
Called after {@link #dispatchAnimationFinished(ViewHolder)} is called by the ItemAnimator. @param viewHolder The ViewHolder whose animation is finish
app/src/main/assets/RecyclerView.java:13644
↓ 1 callers
Method
onAnimationFinished
(ViewHolder item)
app/src/main/assets/RecyclerView.java:13815
↓ 1 callers
Method
onAnimationStarted
Called when a new animation is started on the given ViewHolder. @param viewHolder The ViewHolder which started animating. Note that the ViewHolder
app/src/main/assets/RecyclerView.java:13685
↓ 1 callers
Method
onAttachedToRecyclerView
Called by RecyclerView when it starts observing this Adapter. <p> Keep in mind that same adapter may be observed by multiple RecyclerViews. @param re
app/src/main/assets/RecyclerView.java:7223
↓ 1 callers
Method
onAttachedToWindow
Called when this LayoutManager is both attached to a RecyclerView and that RecyclerView is attached to a window. <p> If the RecyclerView is re-attache
app/src/main/assets/RecyclerView.java:8173
↓ 1 callers
Method
onBindViewHolder
Called by RecyclerView to display the data at the specified position. This method should update the contents of the {@link ViewHolder#itemView} to ref
app/src/main/assets/RecyclerView.java:6921
↓ 1 callers
Method
onChanged
()
app/src/main/assets/RecyclerView.java:12044
↓ 1 callers
Method
onChildDetachedFromWindow
Called when an item view is detached from this RecyclerView. <p>Subclasses of RecyclerView may want to perform extra bookkeeping or modifications of
app/src/main/assets/RecyclerView.java:4974
↓ 1 callers
Method
onChildViewAttachedToWindow
Called when a view is attached to the RecyclerView. @param view The View which is attached to the RecyclerView
app/src/main/assets/RecyclerView.java:11183
↓ 1 callers
Method
onChildViewDetachedFromWindow
Called when a view is detached from RecyclerView. @param view The View which is being detached from the RecyclerView
app/src/main/assets/RecyclerView.java:11192
↓ 1 callers
Method
onCreateViewHolder
Called when RecyclerView needs a new {@link ViewHolder} of the given type to represent an item. <p> This new ViewHolder should be constructed with a n
app/src/main/assets/RecyclerView.java:6897
↓ 1 callers
Method
onDetachedFromRecyclerView
Called by RecyclerView when it stops observing this Adapter. @param recyclerView The RecyclerView instance which stopped observing this adapter. @see
app/src/main/assets/RecyclerView.java:7234
↓ 1 callers
Method
onDetachedFromWindow
@deprecated override {@link #onDetachedFromWindow(RecyclerView, Recycler)}
app/src/main/assets/RecyclerView.java:8183
↓ 1 callers
Method
onDispatchFirstPass
(UpdateOp updateOp)
app/src/main/assets/AdapterHelper.java:774
↓ 1 callers
Method
onDrawOver
Draw any appropriate decorations into the Canvas supplied to the RecyclerView. Any content drawn by this method will be drawn after the item views are
app/src/main/assets/RecyclerView.java:10966
↓ 1 callers
Method
onEnteredHiddenState
Called when the child view enters the hidden state
app/src/main/assets/RecyclerView.java:11660
↓ 1 callers
Method
onFailedToRecycleView
Called by the RecyclerView if a ViewHolder created by this Adapter cannot be recycled due to its transient state. Upon receiving this callback, Adapte
app/src/main/assets/RecyclerView.java:7131
↓ 1 callers
Method
onFling
Override this to handle a fling given the velocities in both x and y directions. Note that this method will only be called if the associated {@link La
app/src/main/assets/RecyclerView.java:13045
↓ 1 callers
Method
onGetChildDrawingOrder
Returns the index of the child to draw for this iteration. Override this if you want to change the drawing order of children. By default, it returns i
app/src/main/assets/RecyclerView.java:13961
↓ 1 callers
Method
onInterceptFocusSearch
This method gives a LayoutManager an opportunity to intercept the initial focus search before the default behavior of {@link FocusFinder} is used. If
app/src/main/assets/RecyclerView.java:9975
↓ 1 callers
Method
onItemsAdded
Called when items have been added to the adapter. The LayoutManager may choose to requestLayout if the inserted items would require refreshing the cur
app/src/main/assets/RecyclerView.java:10258
↓ 1 callers
Method
onItemsChanged
Called when {@link Adapter#notifyDataSetChanged()} is triggered instead of giving detailed information on what has actually changed. @param recyclerV
app/src/main/assets/RecyclerView.java:10244
↓ 1 callers
Method
onItemsMoved
Called when an item is moved withing the adapter. <p> Note that, an item may also change position in response to another ADD/REMOVE/MOVE operation. Th
app/src/main/assets/RecyclerView.java:10317
↓ 1 callers
Method
onItemsRemoved
Called when items have been removed from the adapter. @param recyclerView @param positionStart @param itemCount
app/src/main/assets/RecyclerView.java:10270
↓ 1 callers
Method
onItemsUpdated
Called when items have been changed in the adapter. To receive payload, override {@link #onItemsUpdated(RecyclerView, int, int, Object)} instead, the
app/src/main/assets/RecyclerView.java:10284
↓ 1 callers
Method
onLayoutComplete
Call this method after onLayout method is complete if state is NOT pre-layout. This method records information like layout bounds that might be useful
app/src/main/assets/OrientationHelper.java:55
↓ 1 callers
Method
onLayoutCompleted
Called after a full layout calculation is finished. The layout calculation may include multiple {@link #onLayoutChildren(Recycler, State)} calls due t
app/src/main/assets/RecyclerView.java:8299
↓ 1 callers
Method
onLeftHiddenState
Called when the child view leaves the hidden state
app/src/main/assets/RecyclerView.java:11673
↓ 1 callers
Method
onRequestChildFocus
@deprecated Use {@link #onRequestChildFocus(RecyclerView, State, View, View)}
app/src/main/assets/RecyclerView.java:10158
↓ 1 callers
Method
onRequestDisallowInterceptTouchEvent
Called when a child of RecyclerView does not want RecyclerView and its ancestors to intercept touch events with {@link ViewGroup#onInterceptTouchEvent
app/src/main/assets/RecyclerView.java:11074
↓ 1 callers
Method
onSeekTargetStep
<p>RecyclerView will call this method each time it scrolls until it can find the target position in the layout.</p> <p>SmoothScroller should check dx,
app/src/main/assets/RecyclerView.java:12323
↓ 1 callers
Method
onSmoothScrollerStopped
(SmoothScroller smoothScroller)
app/src/main/assets/RecyclerView.java:10500
↓ 1 callers
Method
onStart
Called when smooth scroll is started. This might be a good time to do setup.
app/src/main/assets/RecyclerView.java:12299
↓ 1 callers
Method
onStop
Called when smooth scroller is stopped. This is a good place to cleanup your state etc. @see #stop()
app/src/main/assets/RecyclerView.java:12307
↓ 1 callers
Method
onTargetFound
Called when the target position is laid out. This is the last callback SmoothScroller will receive and it should update the provided {@link Action} to
app/src/main/assets/RecyclerView.java:12336
↓ 1 callers
Method
onTouchEvent
(MotionEvent e)
app/src/main/assets/RecyclerView.java:3110
↓ 1 callers
Method
onTouchEvent
Process a touch event as part of a gesture that was claimed by returning true from a previous call to {@link #onInterceptTouchEvent}. @param e Motion
app/src/main/assets/RecyclerView.java:11061
↓ 1 callers
Method
onViewAttachedToWindow
Called when a view created by this adapter has been attached to a window. <p>This can be used as a reasonable signal that the view is about to be see
app/src/main/assets/RecyclerView.java:7147
↓ 1 callers
Method
onViewDetachedFromWindow
Called when a view created by this adapter has been detached from its window. <p>Becoming detached from the window is not necessarily a permanent con
app/src/main/assets/RecyclerView.java:7161
↓ 1 callers
Method
packData
()
app/src/main/java/com/study/xuan/recyclerviewstudy/MainActivity.java:58
↓ 1 callers
Method
pullGlows
Apply a pull to relevant overscroll glow effects
app/src/main/assets/RecyclerView.java:2407
↓ 1 callers
Method
put
Adds a mapping from the specified id to the specified value, replacing the previous mapping from the specified key if there was one. @param resourceI
app/src/main/assets/RecyclerView.java:12906
↓ 1 callers
Method
putRecycledView
(ViewHolder scrap)
app/src/main/assets/RecyclerView.java:5565
← previous
next →
401–500 of 867, ranked by callers