MCPcopy Create free account

hub / github.com/DrownCoder/RecyclerViewStudy / functions

Functions867 in github.com/DrownCoder/RecyclerViewStudy

MethodcomputeHorizontalScrollRange
<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
MethodcomputeHorizontalScrollRange
<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
MethodcomputeHorizontalScrollRange
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1217
MethodcomputeScrollVectorForPosition
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
MethodcomputeScrollVectorForPosition
(int targetPosition)
app/src/main/assets/LinearLayoutManager.java:526
MethodcomputeVerticalScrollExtent
<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
MethodcomputeVerticalScrollExtent
<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
MethodcomputeVerticalScrollExtent
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1212
MethodcomputeVerticalScrollOffset
<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
MethodcomputeVerticalScrollOffset
<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
MethodcomputeVerticalScrollOffset
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1202
MethodcomputeVerticalScrollRange
<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
MethodcomputeVerticalScrollRange
<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
MethodcomputeVerticalScrollRange
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1222
MethodconvertPreLayoutPositionToPostLayout
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
MethodcreateFromParcel
(Parcel in, ClassLoader loader)
app/src/main/assets/RecyclerView.java:12657
MethodcreateFromParcel
(Parcel in)
app/src/main/assets/LinearLayoutManager.java:2570
MethoddescribeContents
()
app/src/main/assets/LinearLayoutManager.java:2556
MethoddetachAndScrapView
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
MethoddetachAndScrapViewAt
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
MethoddetachView
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
MethoddidStructureChange
@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
MethoddispatchAnimationFinished
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
MethoddispatchAnimationStarted
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
MethoddispatchAnimationsFinished
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
MethoddispatchRestoreInstanceState
Override to prevent thawing of any views created by the adapter.
app/src/main/assets/RecyclerView.java:1429
MethoddispatchSaveInstanceState
Override to prevent freezing of any views created by the adapter.
app/src/main/assets/RecyclerView.java:1419
Methoddraw
(Canvas c)
app/src/main/assets/RecyclerView.java:4291
MethoddrawChild
(Canvas canvas, View child, long drawingTime)
app/src/main/assets/RecyclerView.java:4928
MethodendAnimation
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
Methodequals
(Object o)
app/src/main/assets/AdapterHelper.java:684
MethodfindChildViewUnder
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
MethodfindContainingItemView
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
MethodfindFirstCompletelyVisibleItemPosition
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
MethodfindLastCompletelyVisibleItemPosition
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
MethodfindViewHolder
(int position)
app/src/main/assets/RecyclerView.java:945
MethodfindViewHolderForLayoutPosition
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
Methodfling
(int velocityX, int velocityY)
app/src/main/assets/RecyclerView.java:5319
MethodfocusSearch
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
MethodgenerateDefaultLayoutParams
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
MethodgenerateDefaultLayoutParams
{@inheritDoc}
app/src/main/assets/LinearLayoutManager.java:236
MethodgenerateLayoutParams
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
MethodgetAddDuration
Gets the current duration for which all add animations will run. @return The current add duration
app/src/main/assets/RecyclerView.java:13210
MethodgetBaseline
<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
MethodgetBaseline
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
MethodgetChangeDuration
Gets the current duration for which all change animations will run. @return The current change duration
app/src/main/assets/RecyclerView.java:13254
MethodgetChildCount
@see RecyclerView.LayoutManager#getChildCount()
app/src/main/assets/RecyclerView.java:12248
MethodgetChildDrawingOrder
(int childCount, int i)
app/src/main/assets/RecyclerView.java:13929
MethodgetChildEnd
(View view)
app/src/main/assets/RecyclerView.java:7558
MethodgetChildItemId
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
MethodgetChildPosition
@deprecated use {@link #getChildAdapterPosition(View)} or {@link #getChildLayoutPosition(View)}.
app/src/main/assets/RecyclerView.java:4715
MethodgetChildStart
(View view)
app/src/main/assets/RecyclerView.java:7551
MethodgetClipToPadding
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
MethodgetClipToPadding
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
MethodgetCompatAccessibilityDelegate
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
MethodgetDecoratedBoundsWithMargins
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
MethodgetDuration
()
app/src/main/assets/RecyclerView.java:12485
MethodgetDx
()
app/src/main/assets/RecyclerView.java:12467
MethodgetDy
()
app/src/main/assets/RecyclerView.java:12476
MethodgetInitialPrefetchItemCount
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
MethodgetInterpolation
(float t)
app/src/main/assets/RecyclerView.java:581
MethodgetInterpolator
()
app/src/main/assets/RecyclerView.java:12494
MethodgetItemAnimator
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
MethodgetItemCount
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
MethodgetItemCount
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyChildAdapter.java:42
MethodgetItemCount
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:89
MethodgetItemViewType
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
MethodgetLayoutManager
Return the {@link LayoutManager} currently responsible for layout policy for this RecyclerView. @return The currently bound LayoutManager
app/src/main/assets/RecyclerView.java:1490
MethodgetLayoutManager
@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
MethodgetMaxFlingVelocity
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
MethodgetMinFlingVelocity
Returns the minimum velocity to start a fling. @return The minimum velocity to start a fling
app/src/main/assets/RecyclerView.java:2387
MethodgetModeInOther
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
MethodgetMoveDuration
Gets the current duration for which all move animations will run. @return The current move duration
app/src/main/assets/RecyclerView.java:13188
MethodgetOnFlingListener
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
MethodgetOrientation
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
MethodgetPaddingEnd
Return the end padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9135
MethodgetPaddingStart
Return the start padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9124
MethodgetParentEnd
()
app/src/main/assets/RecyclerView.java:7546
MethodgetParentStart
()
app/src/main/assets/RecyclerView.java:7541
MethodgetPreserveFocusAfterLayout
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
MethodgetRecycleChildrenOnDetach
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
MethodgetRemainingScrollHorizontal
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
MethodgetRemainingScrollVertical
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
MethodgetRemoveDuration
Gets the current duration for which all remove animations will run. @return The current remove duration
app/src/main/assets/RecyclerView.java:13232
MethodgetReverseLayout
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
MethodgetStackFromEnd
()
app/src/main/assets/LinearLayoutManager.java:366
MethodgetTargetScrollPosition
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
MethodgetViewAdapterPosition
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
MethodgetViewPosition
@deprecated use {@link #getViewLayoutPosition()} or {@link #getViewAdapterPosition()}
app/src/main/assets/RecyclerView.java:12005
MethodhasFixedSize
@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
MethodhasObservers
()
app/src/main/assets/RecyclerView.java:12560
MethodhasPendingAdapterUpdates
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
MethodignoreView
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
MethodinstantScrollToPosition
@see RecyclerView#scrollToPosition(int) @deprecated Use {@link Action#jumpTo(int)}.
app/src/main/assets/RecyclerView.java:12267
MethodinvalidateItemDecorations
Invalidates all ItemDecorations. If RecyclerView has item decorations, calling this method will trigger a {@link #requestLayout()} call.
app/src/main/assets/RecyclerView.java:4594
MethodisAnimating
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
MethodisAttachedToWindow
Returns true if RecyclerView is attached to window.
app/src/main/assets/RecyclerView.java:2860
MethodisAttachedToWindow
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
MethodisAutoMeasureEnabled
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
MethodisItemPrefetchEnabled
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
← previousnext →601–700 of 867, ranked by callers