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
recordPostLayoutInformation
Called by the RecyclerView after the layout is complete. Item animator should record necessary information about the View's final state. <p> The data
app/src/main/assets/RecyclerView.java:13351
↓ 1 callers
Method
recoverFocusFromState
()
app/src/main/assets/RecyclerView.java:3766
↓ 1 callers
Method
recycleViewsFromEnd
Recycles views that went out of bounds after scrolling towards the start of the layout. <p> Checks both layout position and visible position to guaran
app/src/main/assets/LinearLayoutManager.java:1565
↓ 1 callers
Method
recycleViewsFromStart
Recycles views that went out of bounds after scrolling towards the end of the layout. <p> Checks both layout position and visible position to guarante
app/src/main/assets/LinearLayoutManager.java:1518
↓ 1 callers
Method
registerAdapterDataObserver
Register a new observer to listen for data changes. <p>The adapter may publish a variety of events describing specific changes. Not all adapters may
app/src/main/assets/RecyclerView.java:7193
↓ 1 callers
Method
releaseGlows
()
app/src/main/assets/RecyclerView.java:2434
↓ 1 callers
Method
remove
(Object o)
app/src/main/java/com/study/xuan/recyclerviewstudy/ArrayListWrapper.java:13
↓ 1 callers
Method
removeAndRecycleView
Remove a child view and recycle it using the given Recycler. @param child Child to remove and recycle @param recycler Recycler to use to recycle chil
app/src/main/assets/RecyclerView.java:8967
↓ 1 callers
Method
removeAndRecycleViews
Removes and recycles all views - both those currently attached, and those in the Recycler.
app/src/main/assets/RecyclerView.java:1159
↓ 1 callers
Method
removeAnimatingView
Removes a view from the animatingViews list. @param view The view to be removed @see #addAnimatingView(RecyclerView.ViewHolder) @return true if an ani
app/src/main/assets/RecyclerView.java:1466
↓ 1 callers
Method
removeItemDecoration
Remove an {@link ItemDecoration} from this RecyclerView. <p>The given decoration will no longer impact the measurement and drawing of item views.</p>
app/src/main/assets/RecyclerView.java:1685
↓ 1 callers
Method
removeView
Remove a view from the currently attached RecyclerView if needed. LayoutManagers should use this method to completely remove a child view that is no l
app/src/main/assets/RecyclerView.java:8659
↓ 1 callers
Method
requestChildRectangleOnScreen
(View child, Rect rect, boolean immediate)
app/src/main/assets/RecyclerView.java:2777
↓ 1 callers
Method
resetInternal
()
app/src/main/assets/LinearLayoutManager.java:2697
↓ 1 callers
Method
runPendingAnimations
Called when there are pending animations waiting to be started. This state is governed by the return values from {@link #animateAppearance(ViewHolder,
app/src/main/assets/RecyclerView.java:13564
↓ 1 callers
Method
saveFocusInfo
()
app/src/main/assets/RecyclerView.java:3701
↓ 1 callers
Method
saveOldPosition
()
app/src/main/assets/RecyclerView.java:11416
↓ 1 callers
Method
saveOldPositions
()
app/src/main/assets/RecyclerView.java:4405
↓ 1 callers
Method
sendAccessibilityEventUnchecked
(AccessibilityEvent event)
app/src/main/assets/RecyclerView.java:3564
↓ 1 callers
Method
setAccessibilityDelegateCompat
Sets the accessibility delegate compatibility implementation used by RecyclerView. @param accessibilityDelegate The accessibility delegate to be used
app/src/main/assets/RecyclerView.java:746
↓ 1 callers
Method
setAllCache
()
app/src/main/java/com/study/xuan/recyclerviewstudy/SRecyclerView.java:59
↓ 1 callers
Method
setNestedScrollingEnabled
(boolean enabled)
app/src/main/assets/RecyclerView.java:11837
↓ 1 callers
Method
setRecycleChildrenOnDetach
Set whether LayoutManager will recycle its children when it is detached from RecyclerView. <p> If you are using a {@link RecyclerView.RecycledViewPool
app/src/main/assets/LinearLayoutManager.java:270
↓ 1 callers
Method
setRecycledViewPool
Recycled view pools allow multiple RecyclerViews to share a common pool of scrap views. This can be useful if you have multiple RecyclerViews with ada
app/src/main/assets/RecyclerView.java:1518
↓ 1 callers
Method
setStackFromEnd
Compatibility support for {@link android.widget.AbsListView#setStackFromBottom(boolean)}
app/src/main/assets/LinearLayoutManager.java:357
↓ 1 callers
Method
setViewCacheSize
Set the maximum number of detached, valid views we should retain for later use. @param viewCount Number of views to keep before sending views to the
app/src/main/assets/RecyclerView.java:5767
↓ 1 callers
Method
shouldBeKeptAsChild
Returns whether we have animations referring to this view holder or not. This is similar to isRecyclable flag but does not check transient state.
app/src/main/assets/RecyclerView.java:11755
↓ 1 callers
Method
shouldDeferAccessibilityEvent
Returns true if an accessibility event should not be dispatched now. This happens when an accessibility request arrives while RecyclerView does not ha
app/src/main/assets/RecyclerView.java:3549
↓ 1 callers
Method
shouldMeasureTwice
Internal API to allow LayoutManagers to be measured twice. <p> This is not public because LayoutManagers should be able to handle their layouts in one
app/src/main/assets/RecyclerView.java:10876
↓ 1 callers
Method
start
Starts a smooth scroll for the given target position. <p>In each animation step, {@link RecyclerView} will check for the target view and call either {
app/src/main/assets/RecyclerView.java:12113
↓ 1 callers
Method
startSmoothScroll
<p>Starts a smooth scroll using the provided SmoothScroller.</p> <p>Calling this method will cancel any previous smooth scroll request.</p> @param smo
app/src/main/assets/RecyclerView.java:8481
↓ 1 callers
Method
stopIgnoring
()
app/src/main/assets/RecyclerView.java:11558
↓ 1 callers
Method
stopSmoothScroller
()
app/src/main/assets/RecyclerView.java:10494
↓ 1 callers
Method
supportsPredictiveItemAnimations
Returns whether this LayoutManager supports automatic item animations. A LayoutManager wishing to support item animations should obey certain rules as
app/src/main/assets/RecyclerView.java:7988
↓ 1 callers
Method
tryGetViewHolderForPositionByDeadline
注释写的很清楚,从Recycler的scrap,cache,RecyclerViewPool,或者直接create创建
app/src/main/assets/RecyclerView.java:5995
↓ 1 callers
Method
unregisterAdapterDataObserver
Unregister an observer currently listening for data changes. <p>The unregistered observer will no longer receive events about changes to the adapter.
app/src/main/assets/RecyclerView.java:7209
↓ 1 callers
Method
updateAnchorFromChildren
Finds an anchor child from existing Views. Most of the time, this is the view closest to start or end that has a valid position (e.g. not removed). <p
app/src/main/assets/LinearLayoutManager.java:877
↓ 1 callers
Method
updateAnchorFromPendingData
If there is a pending scroll position or saved states, updates the anchor info from that data and returns true
app/src/main/assets/LinearLayoutManager.java:923
↓ 1 callers
Method
updateAnchorInfoForLayout
(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorIn
app/src/main/assets/LinearLayoutManager.java:847
↓ 1 callers
Method
validate
()
app/src/main/assets/RecyclerView.java:12458
↓ 1 callers
Method
validateViewHolderForOffsetPosition
Helper method for getViewForPosition. <p> Checks whether a given view holder can be used for the provided position. @param holder ViewHolder @return
app/src/main/assets/RecyclerView.java:5804
↓ 1 callers
Method
viewRangeUpdate
Rebind existing views for the given range, or create as needed. @param positionStart Adapter position to start at @param itemCount Number of views th
app/src/main/assets/RecyclerView.java:4521
↓ 1 callers
Method
willBindInTime
(int viewType, long approxCurrentNs, long deadlineNs)
app/src/main/assets/RecyclerView.java:5602
↓ 1 callers
Method
willCreateInTime
(int viewType, long approxCurrentNs, long deadlineNs)
app/src/main/assets/RecyclerView.java:5597
↓ 1 callers
Method
willRunPredictiveAnimations
Returns whether RecyclerView will run predictive animations in this layout pass or not. @return true if RecyclerView is calculating predictive animat
app/src/main/assets/RecyclerView.java:12847
Method
Action
@param dx Pixels to scroll horizontally @param dy Pixels to scroll vertically
app/src/main/assets/RecyclerView.java:12369
Method
AdapterHelper
(Callback callback)
app/src/main/assets/AdapterHelper.java:70
Method
AnchorInfo
()
app/src/main/assets/LinearLayoutManager.java:2593
Method
ImageChildViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyChildAdapter.java:50
Method
ImageViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:112
Method
ItemAnimatorRestoreListener
()
app/src/main/assets/RecyclerView.java:13058
Method
ItemHolderInfo
()
app/src/main/assets/RecyclerView.java:13889
Method
LayoutParams
(Context c, AttributeSet attrs)
app/src/main/assets/RecyclerView.java:11930
Method
LinearLayoutManager
Creates a vertical LinearLayoutManager @param context Current context, will be used to access resources.
app/src/main/assets/LinearLayoutManager.java:193
Method
OrientationHelper
(RecyclerView.LayoutManager layoutManager)
app/src/main/assets/OrientationHelper.java:46
Method
RcyAdapter
(List<RcyModel> mData, Context mContext, RecyclerView recyclerView, TextView tvCreateAndBind)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:30
Method
RcyChildAdapter
(Context context, List<Integer> mData, TextView tvCreateAndBind)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyChildAdapter.java:24
Method
RcyViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:121
Method
RecyclerView
(Context context)
app/src/main/assets/RecyclerView.java:631
Method
RecyclerViewDataObserver
()
app/src/main/assets/RecyclerView.java:5416
Method
SRecyclerView
(Context context)
app/src/main/java/com/study/xuan/recyclerviewstudy/SRecyclerView.java:31
Method
SavedState
called by CREATOR
app/src/main/assets/RecyclerView.java:12631
Method
SavedState
()
app/src/main/assets/LinearLayoutManager.java:2532
Method
SmoothScroller
()
app/src/main/assets/RecyclerView.java:12095
Method
TextViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:102
Method
UpdateOp
(int cmd, int positionStart, int itemCount, Object payload)
app/src/main/assets/AdapterHelper.java:656
Method
ViewFlinger
()
app/src/main/assets/RecyclerView.java:5161
Method
ViewHolder
(View itemView)
app/src/main/assets/RecyclerView.java:11382
Method
addFocusables
(ArrayList<View> views, int direction, int focusableMode)
app/src/main/assets/RecyclerView.java:2782
Method
addItemDecoration
Add an {@link ItemDecoration} to this RecyclerView. Item decorations can affect both measurement and drawing of individual item views. <p>Item decora
app/src/main/assets/RecyclerView.java:1595
Method
addOnChildAttachStateChangeListener
Register a listener that will be notified whenever a child view is attached to or detached from RecyclerView. <p>This listener will be called when a
app/src/main/assets/RecyclerView.java:1271
Method
addOnItemTouchListener
Add an {@link OnItemTouchListener} to intercept touch events before they are dispatched to child views or this view's standard scrolling behavior. <p
app/src/main/assets/RecyclerView.java:2927
Method
addUpdateOp
(UpdateOp... ops)
app/src/main/assets/AdapterHelper.java:80
Method
addView
Add a view to the currently attached RecyclerView if needed. LayoutManagers should use this method to add views obtained from a {@link Recycler} using
app/src/main/assets/RecyclerView.java:8575
Method
addition_isCorrect
()
app/src/test/java/com/study/xuan/recyclerviewstudy/ExampleUnitTest.java:13
Method
afterLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/MainActivity.java:40
Method
afterLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:135
Method
assertInLayoutOrScroll
Checks if RecyclerView is in the middle of a layout or scroll and throws an {@link IllegalStateException} if it <b>is not</b>. @param message The mes
app/src/main/assets/RecyclerView.java:2874
Method
assertInLayoutOrScroll
Checks if RecyclerView is in the middle of a layout or scroll and throws an {@link IllegalStateException} if it <b>is not</b>. @param message The mes
app/src/main/assets/RecyclerView.java:7831
Method
beforeLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/MainActivity.java:35
Method
beforeLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:130
Method
bindViewToPosition
Binds the given View to the position. The View can be a View previously retrieved via {@link #getViewForPosition(int)} or created by {@link Adapter#on
app/src/main/assets/RecyclerView.java:5882
Method
calculateItemDecorationsForChild
Calculates the item decor insets applied to the given child and updates the provided Rect instance with the inset values. <ul> <li>The Rect's left
app/src/main/assets/RecyclerView.java:9850
Method
canReuseUpdatedViewHolder
(ViewHolder viewHolder)
app/src/main/assets/RecyclerView.java:4543
Method
canScrollHorizontally
@return true if {@link #getOrientation()} is {@link #HORIZONTAL}
app/src/main/assets/LinearLayoutManager.java:337
Method
canScrollVertically
@return true if {@link #getOrientation()} is {@link #VERTICAL}
app/src/main/assets/LinearLayoutManager.java:347
Method
checkLayoutParams
Determines the validity of the supplied LayoutParams object. <p>This should check to make sure that the object is of the correct type and all values
app/src/main/assets/RecyclerView.java:8333
Method
clearOldPositions
()
app/src/main/assets/RecyclerView.java:6792
Method
clearOnChildAttachStateChangeListeners
Removes all listeners that were added via {@link #addOnChildAttachStateChangeListener(OnChildAttachStateChangeListener)}.
app/src/main/assets/RecyclerView.java:1298
Method
clearOnScrollListeners
Remove all secondary listener that were notified of any changes in scroll state or position.
app/src/main/assets/RecyclerView.java:1771
Method
collectAdjacentPrefetchPositions
Gather all positions from the LayoutManager to be prefetched, given specified momentum. <p>If item prefetch is enabled, this method is called in betw
app/src/main/assets/RecyclerView.java:8059
Method
collectAdjacentPrefetchPositions
(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegi
app/src/main/assets/LinearLayoutManager.java:1431
Method
collectInitialPrefetchPositions
Gather all positions from the LayoutManager to be prefetched in preperation for its RecyclerView to come on screen, due to the movement of another, co
app/src/main/assets/RecyclerView.java:8090
Method
collectInitialPrefetchPositions
(int adapterItemCount, LayoutPrefetchRegistry layoutPrefetchRe
app/src/main/assets/LinearLayoutManager.java:1347
Method
computeHorizontalScrollExtent
<p>Compute the horizontal extent of the horizontal scrollbar's thumb within the horizontal range. This value is used to compute the length of the thum
app/src/main/assets/RecyclerView.java:2040
Method
computeHorizontalScrollExtent
<p>Override this method if you want to support scroll bars.</p> <p>Read {@link RecyclerView#computeHorizontalScrollExtent()} for details.</p> <p>Def
app/src/main/assets/RecyclerView.java:10334
Method
computeHorizontalScrollExtent
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1207
Method
computeHorizontalScrollOffset
<p>Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal range. This value is used to compute the length of the thum
app/src/main/assets/RecyclerView.java:2013
Method
computeHorizontalScrollOffset
<p>Override this method if you want to support scroll bars.</p> <p>Read {@link RecyclerView#computeHorizontalScrollOffset()} for details.</p> <p>Def
app/src/main/assets/RecyclerView.java:10351
Method
computeHorizontalScrollOffset
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1197
← previous
next →
501–600 of 867, ranked by callers