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
Method
computeHorizontalScrollRange
<p>Compute the horizontal range that the horizontal scrollbar represents.</p> <p>The range is expressed in arbitrary units that must be the same as t
app/src/main/assets/RecyclerView.java:2065
Method
computeHorizontalScrollRange
<p>Override this method if you want to support scroll bars.</p> <p>Read {@link RecyclerView#computeHorizontalScrollRange()} for details.</p> <p>Defa
app/src/main/assets/RecyclerView.java:10368
Method
computeHorizontalScrollRange
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1217
Method
computeScrollVectorForPosition
Should calculate the vector that points to the direction where the target position can be found. <p> This method is used by the {@link LinearSmoothScr
app/src/main/assets/RecyclerView.java:12555
Method
computeScrollVectorForPosition
(int targetPosition)
app/src/main/assets/LinearLayoutManager.java:526
Method
computeVerticalScrollExtent
<p>Compute the vertical extent of the vertical scrollbar's thumb within the vertical range. This value is used to compute the length of the thumb with
app/src/main/assets/RecyclerView.java:2118
Method
computeVerticalScrollExtent
<p>Override this method if you want to support scroll bars.</p> <p>Read {@link RecyclerView#computeVerticalScrollExtent()} for details.</p> <p>Defau
app/src/main/assets/RecyclerView.java:10385
Method
computeVerticalScrollExtent
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1212
Method
computeVerticalScrollOffset
<p>Compute the vertical offset of the vertical scrollbar's thumb within the vertical range. This value is used to compute the length of the thumb with
app/src/main/assets/RecyclerView.java:2092
Method
computeVerticalScrollOffset
<p>Override this method if you want to support scroll bars.</p> <p>Read {@link RecyclerView#computeVerticalScrollOffset()} for details.</p> <p>Defau
app/src/main/assets/RecyclerView.java:10402
Method
computeVerticalScrollOffset
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1202
Method
computeVerticalScrollRange
<p>Compute the vertical range that the vertical scrollbar represents.</p> <p>The range is expressed in arbitrary units that must be the same as the u
app/src/main/assets/RecyclerView.java:2143
Method
computeVerticalScrollRange
<p>Override this method if you want to support scroll bars.</p> <p>Read {@link RecyclerView#computeVerticalScrollRange()} for details.</p> <p>Defaul
app/src/main/assets/RecyclerView.java:10419
Method
computeVerticalScrollRange
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1222
Method
convertPreLayoutPositionToPostLayout
RecyclerView provides artificial position range (item count) in pre-layout state and automatically maps these positions to {@link Adapter} positions w
app/src/main/assets/RecyclerView.java:5934
Method
createFromParcel
(Parcel in, ClassLoader loader)
app/src/main/assets/RecyclerView.java:12657
Method
createFromParcel
(Parcel in)
app/src/main/assets/LinearLayoutManager.java:2570
Method
describeContents
()
app/src/main/assets/LinearLayoutManager.java:2556
Method
detachAndScrapView
Detach a child view and add it to a {@link Recycler Recycler's} scrap heap. <p>Scrapping a view allows it to be rebound and reused to show updated or
app/src/main/assets/RecyclerView.java:8938
Method
detachAndScrapViewAt
Detach a child view and add it to a {@link Recycler Recycler's} scrap heap. <p>Scrapping a view allows it to be rebound and reused to show updated or
app/src/main/assets/RecyclerView.java:8954
Method
detachView
Temporarily detach a child view. <p>LayoutManagers may want to perform a lightweight detach operation to rearrange views currently attached to the Re
app/src/main/assets/RecyclerView.java:8811
Method
didStructureChange
@return true if the structure of the data set has changed since the last call to onLayoutChildren, false otherwise
app/src/main/assets/RecyclerView.java:12943
Method
dispatchAnimationFinished
Method to be called by subclasses when an animation is finished. <p> For each call RecyclerView makes to {@link #animateAppearance(ViewHolder, ItemHol
app/src/main/assets/RecyclerView.java:13627
Method
dispatchAnimationStarted
Method to be called by subclasses when an animation is started. <p> For each call RecyclerView makes to {@link #animateAppearance(ViewHolder, ItemHold
app/src/main/assets/RecyclerView.java:13672
Method
dispatchAnimationsFinished
This method should be called by ItemAnimator implementations to notify any listeners that all pending and active item animations are finished.
app/src/main/assets/RecyclerView.java:13784
Method
dispatchRestoreInstanceState
Override to prevent thawing of any views created by the adapter.
app/src/main/assets/RecyclerView.java:1429
Method
dispatchSaveInstanceState
Override to prevent freezing of any views created by the adapter.
app/src/main/assets/RecyclerView.java:1419
Method
draw
(Canvas c)
app/src/main/assets/RecyclerView.java:4291
Method
drawChild
(Canvas canvas, View child, long drawingTime)
app/src/main/assets/RecyclerView.java:4928
Method
endAnimation
Ends all animations on the view created by the {@link ItemAnimator}. @param view The View for which the animations should be ended. @see RecyclerView
app/src/main/assets/RecyclerView.java:8521
Method
equals
(Object o)
app/src/main/assets/AdapterHelper.java:684
Method
findChildViewUnder
Find the topmost view under the given point. @param x Horizontal position in pixels to search @param y Vertical position in pixels to search @return
app/src/main/assets/RecyclerView.java:4912
Method
findContainingItemView
Traverses the ancestors of the given view and returns the item view that contains it and also a direct child of the LayoutManager. <p> Note that this
app/src/main/assets/RecyclerView.java:8748
Method
findFirstCompletelyVisibleItemPosition
Returns the adapter position of the first fully visible view. This position does not include adapter changes that were dispatched after the last layou
app/src/main/assets/LinearLayoutManager.java:2033
Method
findLastCompletelyVisibleItemPosition
Returns the adapter position of the last fully visible view. This position does not include adapter changes that were dispatched after the last layout
app/src/main/assets/LinearLayoutManager.java:2077
Method
findViewHolder
(int position)
app/src/main/assets/RecyclerView.java:945
Method
findViewHolderForLayoutPosition
Return the ViewHolder for the item in the given position of the data set as of the latest layout pass. <p> This method checks only the children of Rec
app/src/main/assets/RecyclerView.java:4798
Method
fling
(int velocityX, int velocityY)
app/src/main/assets/RecyclerView.java:5319
Method
focusSearch
Since RecyclerView is a collection ViewGroup that includes virtual children (items that are in the Adapter but not visible in the UI), it employs a mo
app/src/main/assets/RecyclerView.java:2591
Method
generateDefaultLayoutParams
Create a default <code>LayoutParams</code> object for a child of the RecyclerView. <p>LayoutManagers will often want to use a custom <code>LayoutPara
app/src/main/assets/RecyclerView.java:8319
Method
generateDefaultLayoutParams
{@inheritDoc}
app/src/main/assets/LinearLayoutManager.java:236
Method
generateLayoutParams
Create a LayoutParams object suitable for this LayoutManager, copying relevant values from the supplied LayoutParams object if possible. <p><em>Impor
app/src/main/assets/RecyclerView.java:8352
Method
getAddDuration
Gets the current duration for which all add animations will run. @return The current add duration
app/src/main/assets/RecyclerView.java:13210
Method
getBaseline
<p>Return the offset of the RecyclerView's text baseline from the its top boundary. If the LayoutManager of this RecyclerView does not support baselin
app/src/main/assets/RecyclerView.java:1249
Method
getBaseline
Returns offset of the RecyclerView's text baseline from the its top boundary. @return The offset of the RecyclerView's text baseline from the its top
app/src/main/assets/RecyclerView.java:8702
Method
getChangeDuration
Gets the current duration for which all change animations will run. @return The current change duration
app/src/main/assets/RecyclerView.java:13254
Method
getChildCount
@see RecyclerView.LayoutManager#getChildCount()
app/src/main/assets/RecyclerView.java:12248
Method
getChildDrawingOrder
(int childCount, int i)
app/src/main/assets/RecyclerView.java:13929
Method
getChildEnd
(View view)
app/src/main/assets/RecyclerView.java:7558
Method
getChildItemId
Return the stable item id that the given child view corresponds to. @param child Child View to query @return Item id corresponding to the given view
app/src/main/assets/RecyclerView.java:4758
Method
getChildPosition
@deprecated use {@link #getChildAdapterPosition(View)} or {@link #getChildLayoutPosition(View)}.
app/src/main/assets/RecyclerView.java:4715
Method
getChildStart
(View view)
app/src/main/assets/RecyclerView.java:7551
Method
getClipToPadding
Returns whether this RecyclerView will clip its children to its padding, and resize (but not clip) any EdgeEffect to the padded region, if padding is
app/src/main/assets/RecyclerView.java:1080
Method
getClipToPadding
Check if the RecyclerView is configured to clip child views to its padding. @return true if this RecyclerView clips children to its padding, false ot
app/src/main/assets/RecyclerView.java:8225
Method
getCompatAccessibilityDelegate
Returns the accessibility delegate compatibility implementation used by the RecyclerView. @return An instance of AccessibilityDelegateCompat used by R
app/src/main/assets/RecyclerView.java:736
Method
getDecoratedBoundsWithMargins
Returns the bounds of the view including its decoration and margins. @param view The view element to check @param outBounds A rect that will receive
app/src/main/assets/RecyclerView.java:5001
Method
getDuration
()
app/src/main/assets/RecyclerView.java:12485
Method
getDx
()
app/src/main/assets/RecyclerView.java:12467
Method
getDy
()
app/src/main/assets/RecyclerView.java:12476
Method
getInitialPrefetchItemCount
Gets the number of items to prefetch in {@link #collectInitialPrefetchPositions(int, LayoutPrefetchRegistry)}, which defines how many inner items shou
app/src/main/assets/LinearLayoutManager.java:1427
Method
getInterpolation
(float t)
app/src/main/assets/RecyclerView.java:581
Method
getInterpolator
()
app/src/main/assets/RecyclerView.java:12494
Method
getItemAnimator
Gets the current ItemAnimator for this RecyclerView. A null return value indicates that there is no animator and that item changes will happen without
app/src/main/assets/RecyclerView.java:3583
Method
getItemCount
Returns the number of items in the adapter bound to the parent RecyclerView. <p> Note that this number is not necessarily equal to {@link State#getIte
app/src/main/assets/RecyclerView.java:9195
Method
getItemCount
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyChildAdapter.java:42
Method
getItemCount
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:89
Method
getItemViewType
Returns the View type defined by the adapter. @param view The view to query @return The type of the view assigned by the adapter.
app/src/main/assets/RecyclerView.java:8727
Method
getLayoutManager
Return the {@link LayoutManager} currently responsible for layout policy for this RecyclerView. @return The currently bound LayoutManager
app/src/main/assets/RecyclerView.java:1490
Method
getLayoutManager
@return The LayoutManager to which this SmoothScroller is attached. Will return <code>null</code> after the SmoothScroller is stopped.
app/src/main/assets/RecyclerView.java:12137
Method
getMaxFlingVelocity
Returns the maximum fling velocity used by this RecyclerView. @return The maximum fling velocity used by this RecyclerView.
app/src/main/assets/RecyclerView.java:2398
Method
getMinFlingVelocity
Returns the minimum velocity to start a fling. @return The minimum velocity to start a fling
app/src/main/assets/RecyclerView.java:2387
Method
getModeInOther
Returns the MeasureSpec mode for the perpendicular orientation from the LayoutManager. @return The current measure spec mode. @see View.MeasureSpec
app/src/main/assets/OrientationHelper.java:222
Method
getMoveDuration
Gets the current duration for which all move animations will run. @return The current move duration
app/src/main/assets/RecyclerView.java:13188
Method
getOnFlingListener
Get the current {@link OnFlingListener} from this {@link RecyclerView}. @return The {@link OnFlingListener} instance currently set (can be null).
app/src/main/assets/RecyclerView.java:1381
Method
getOrientation
Returns the current orientation of the layout. @return Current orientation, either {@link #HORIZONTAL} or {@link #VERTICAL} @see #setOrientation(int
app/src/main/assets/LinearLayoutManager.java:378
Method
getPaddingEnd
Return the end padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9135
Method
getPaddingStart
Return the start padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9124
Method
getParentEnd
()
app/src/main/assets/RecyclerView.java:7546
Method
getParentStart
()
app/src/main/assets/RecyclerView.java:7541
Method
getPreserveFocusAfterLayout
Returns true if the RecyclerView should attempt to preserve currently focused Adapter Item's focus even if the View representing the Item is replaced
app/src/main/assets/RecyclerView.java:4619
Method
getRecycleChildrenOnDetach
Returns whether LayoutManager will recycle its children when it is detached from RecyclerView. @return true if LayoutManager will recycle its childre
app/src/main/assets/LinearLayoutManager.java:251
Method
getRemainingScrollHorizontal
Returns remaining horizontal scroll distance of an ongoing scroll animation(fling/ smoothScrollTo/SmoothScroller) in pixels. Returns zero if {@link #g
app/src/main/assets/RecyclerView.java:12988
Method
getRemainingScrollVertical
Returns remaining vertical scroll distance of an ongoing scroll animation(fling/ smoothScrollTo/SmoothScroller) in pixels. Returns zero if {@link #get
app/src/main/assets/RecyclerView.java:13001
Method
getRemoveDuration
Gets the current duration for which all remove animations will run. @return The current remove duration
app/src/main/assets/RecyclerView.java:13232
Method
getReverseLayout
Returns if views are laid out from the opposite direction of the layout. @return If layout is reversed or not. @see #setReverseLayout(boolean)
app/src/main/assets/LinearLayoutManager.java:429
Method
getStackFromEnd
()
app/src/main/assets/LinearLayoutManager.java:366
Method
getTargetScrollPosition
If scroll is triggered to make a certain item visible, this value will return the adapter index of that item. @return Adapter index of the target item
app/src/main/assets/RecyclerView.java:12922
Method
getViewAdapterPosition
Returns the up-to-date adapter position that the view this LayoutParams is attached to corresponds to. @return the up-to-date adapter position this v
app/src/main/assets/RecyclerView.java:12032
Method
getViewPosition
@deprecated use {@link #getViewLayoutPosition()} or {@link #getViewAdapterPosition()}
app/src/main/assets/RecyclerView.java:12005
Method
hasFixedSize
@return true if the app has specified that changes in adapter content cannot change the size of the RecyclerView itself.
app/src/main/assets/RecyclerView.java:1050
Method
hasObservers
()
app/src/main/assets/RecyclerView.java:12560
Method
hasPendingAdapterUpdates
Returns whether there are pending adapter updates which are not yet applied to the layout. <p> If this method returns <code>true</code>, it means that
app/src/main/assets/RecyclerView.java:5143
Method
ignoreView
Flags a view so that it will not be scrapped or recycled. <p> Scope of ignoring a child is strictly restricted to position tracking, scrapping and rec
app/src/main/assets/RecyclerView.java:9246
Method
instantScrollToPosition
@see RecyclerView#scrollToPosition(int) @deprecated Use {@link Action#jumpTo(int)}.
app/src/main/assets/RecyclerView.java:12267
Method
invalidateItemDecorations
Invalidates all ItemDecorations. If RecyclerView has item decorations, calling this method will trigger a {@link #requestLayout()} call.
app/src/main/assets/RecyclerView.java:4594
Method
isAnimating
Returns true if RecyclerView is currently running some animations. <p> If you want to be notified when animations are finished, use {@link ItemAnimato
app/src/main/assets/RecyclerView.java:4401
Method
isAttachedToWindow
Returns true if RecyclerView is attached to window.
app/src/main/assets/RecyclerView.java:2860
Method
isAttachedToWindow
Returns whether LayoutManager is currently attached to a RecyclerView which is attached to a window. @return True if this LayoutManager is controllin
app/src/main/assets/RecyclerView.java:8113
Method
isAutoMeasureEnabled
Returns whether the LayoutManager uses the automatic measurement API or not. @return <code>True</code> if the LayoutManager is measured by the Recycl
app/src/main/assets/RecyclerView.java:7962
Method
isItemPrefetchEnabled
Sets whether the LayoutManager should be queried for views outside of its viewport while the UI thread is idle between frames. @see #setItemPrefetchE
app/src/main/assets/RecyclerView.java:8033
← previous
next →
601–700 of 867, ranked by callers