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
↓ 75 callers
Method
size
()
app/src/main/assets/RecyclerView.java:5554
↓ 71 callers
Method
get
Gets the Object mapped from the specified id, or <code>null</code> if no such data exists. @param resourceId Id of the resource you want to remove. I
app/src/main/assets/RecyclerView.java:12888
↓ 55 callers
Method
getChildCount
()
app/src/main/assets/RecyclerView.java:822
↓ 46 callers
Method
getChildViewHolderInt
(View child)
app/src/main/assets/RecyclerView.java:4702
↓ 38 callers
Method
exceptionLabel
Label appended to all public exception strings, used to help find which RV in an app is hitting an exception.
app/src/main/assets/RecyclerView.java:723
↓ 37 callers
Method
getChildAt
(int offset)
app/src/main/assets/RecyclerView.java:864
↓ 30 callers
Method
getWidth
Return the width of the parent RecyclerView @return Width in pixels
app/src/main/assets/RecyclerView.java:9058
↓ 29 callers
Method
getHeight
Return the height of the parent RecyclerView @return Height in pixels
app/src/main/assets/RecyclerView.java:9069
↓ 27 callers
Method
getItemCount
Returns the total number of items that can be laid out. Note that this number is not necessarily equal to the number of items in the adapter, so you s
app/src/main/assets/RecyclerView.java:12973
↓ 26 callers
Method
getPosition
@deprecated This method is deprecated because its meaning is ambiguous due to the async handling of adapter updates. Please use {@link #getLayoutPosit
app/src/main/assets/RecyclerView.java:11436
↓ 25 callers
Method
shouldIgnore
()
app/src/main/assets/RecyclerView.java:11422
↓ 24 callers
Method
clear
Clear scrap views out of this recycler. Detached views contained within a recycled view pool will remain.
app/src/main/assets/RecyclerView.java:5755
↓ 22 callers
Method
canScrollHorizontally
Query if horizontal scrolling is currently supported. The default implementation returns false. @return True if this LayoutManager can scroll the cur
app/src/main/assets/RecyclerView.java:8428
↓ 22 callers
Method
canScrollVertically
Query if vertical scrolling is currently supported. The default implementation returns false. @return True if this LayoutManager can scroll the curre
app/src/main/assets/RecyclerView.java:8440
↓ 21 callers
Method
getDecoratedStart
Returns the start of the view including its decoration and margin. <p> For example, for the horizontal helper, if a View's left is at pixel 20, has 2p
app/src/main/assets/OrientationHelper.java:83
↓ 21 callers
Method
getEndAfterPadding
Returns the end position of the layout after the end padding is removed. @return The end boundary for this layout.
app/src/main/assets/OrientationHelper.java:161
↓ 21 callers
Method
isRemoved
()
app/src/main/assets/RecyclerView.java:11579
↓ 21 callers
Method
requestLayout
()
app/src/main/assets/RecyclerView.java:4273
↓ 20 callers
Method
add
(T t)
app/src/main/java/com/study/xuan/recyclerviewstudy/ArrayListWrapper.java:27
↓ 20 callers
Method
getStartAfterPadding
Returns the start position of the layout after the start padding is added. @return The very first pixel we can draw.
app/src/main/assets/OrientationHelper.java:154
↓ 19 callers
Method
isPreLayout
Returns true if @return
app/src/main/assets/RecyclerView.java:12834
↓ 18 callers
Method
getPaddingBottom
Return the bottom padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9113
↓ 18 callers
Method
getPaddingRight
Return the right padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9102
↓ 18 callers
Method
getPaddingTop
Return the top padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9091
↓ 17 callers
Method
addFlags
(int flags)
app/src/main/assets/RecyclerView.java:11599
↓ 17 callers
Method
getPaddingLeft
Return the left padding of the parent RecyclerView @return Padding in pixels
app/src/main/assets/RecyclerView.java:9080
↓ 16 callers
Method
getDecoratedEnd
Returns the end of the view including its decoration and margin. <p> For example, for the horizontal helper, if a View's right is at pixel 200, has 2p
app/src/main/assets/OrientationHelper.java:95
↓ 15 callers
Method
getParent
()
app/src/main/assets/RecyclerView.java:7531
↓ 15 callers
Method
hasStableIds
Returns true if this adapter publishes a unique <code>long</code> value that can act as a key for the item at a given position in the data set. If tha
app/src/main/assets/RecyclerView.java:7069
↓ 15 callers
Method
remove
Removes the mapping from the specified id, if there was any. @param resourceId Id of the resource you want to remove. It is suggested to use R.id. to
app/src/main/assets/RecyclerView.java:12871
↓ 14 callers
Method
getScrollingChildHelper
()
app/src/main/assets/RecyclerView.java:13965
↓ 13 callers
Method
ensureLayoutState
()
app/src/main/assets/LinearLayoutManager.java:1092
↓ 12 callers
Method
obtainUpdateOp
(int cmd, int positionStart, int itemCount, Object payload)
app/src/main/assets/AdapterHelper.java:730
↓ 11 callers
Method
eatRequestLayout
()
app/src/main/assets/RecyclerView.java:2152
↓ 11 callers
Method
isInvalid
()
app/src/main/assets/RecyclerView.java:11567
↓ 11 callers
Method
resumeRequestLayout
(boolean performLayoutChildren)
app/src/main/assets/RecyclerView.java:2159
↓ 10 callers
Method
fill
The magic functions :). Fills the given layout, defined by the layoutState. This is fairly independent from the rest of the {@link android.support.v7.
app/src/main/assets/LinearLayoutManager.java:1635
↓ 10 callers
Method
getAdapterPosition
Returns the Adapter position of the item represented by this ViewHolder. <p> Note that this might be different than the {@link #getLayoutPosition()} i
app/src/main/assets/RecyclerView.java:11493
↓ 10 callers
Method
getChildAt
(int index)
app/src/main/assets/RecyclerView.java:7536
↓ 10 callers
Method
getLayoutPosition
Returns the position of the ViewHolder in terms of the latest layout pass. <p> This position is mostly used by RecyclerView components to be consisten
app/src/main/assets/RecyclerView.java:11465
↓ 9 callers
Method
isTmpDetached
()
app/src/main/assets/RecyclerView.java:11587
↓ 9 callers
Method
offsetPosition
(int offset, boolean applyToPreLayout)
app/src/main/assets/RecyclerView.java:11395
↓ 9 callers
Method
setScrollState
(int state)
app/src/main/assets/RecyclerView.java:1564
↓ 8 callers
Method
assertNotInLayoutOrScroll
Checks if RecyclerView is in the middle of a layout or scroll and throws an {@link IllegalStateException} if it <b>is</b>. @param message The message
app/src/main/assets/RecyclerView.java:7876
↓ 8 callers
Method
findOneVisibleChild
(int fromIndex, int toIndex, boolean completelyVisible, boolean acceptPartiallyVi
app/src/main/assets/LinearLayoutManager.java:2086
↓ 8 callers
Method
getDecoratedMeasurement
Returns the space occupied by this View in the current orientation including decorations and margins. @param view The view element to check @return T
app/src/main/assets/OrientationHelper.java:137
↓ 8 callers
Method
recycleUpdateOp
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:745
↓ 8 callers
Method
setIsRecyclable
Informs the recycler whether this item can be recycled. Views which are not recyclable will not be reused for other items until setIsRecyclable() is l
app/src/main/assets/RecyclerView.java:11717
↓ 7 callers
Method
findPositionOffset
(int position)
app/src/main/assets/AdapterHelper.java:469
↓ 7 callers
Method
getFocusedChild
Returns the item View which has or contains focus. @return A direct child of RecyclerView which has focus or contains the focused child.
app/src/main/assets/RecyclerView.java:9170
↓ 7 callers
Method
getItemViewType
Return the view type of the item at <code>position</code> for the purposes of view recycling. <p>The default implementation of this method returns 0,
app/src/main/assets/RecyclerView.java:7015
↓ 7 callers
Method
getMode
Returns the MeasureSpec mode for the current orientation from the LayoutManager. @return The current measure spec mode. @see View.MeasureSpec @see R
app/src/main/assets/OrientationHelper.java:211
↓ 7 callers
Method
getScrapDataForType
(int viewType)
app/src/main/assets/RecyclerView.java:5641
↓ 7 callers
Method
getViewLayoutPosition
Returns the adapter position that the view this LayoutParams is attached to corresponds to as of latest layout calculation. @return the adapter posit
app/src/main/assets/RecyclerView.java:12018
↓ 7 callers
Method
isComputingLayout
Returns whether RecyclerView is currently computing a layout. <p> If this method returns true, it means that RecyclerView is in a lockdown state and a
app/src/main/assets/RecyclerView.java:3535
↓ 7 callers
Method
isScrap
()
app/src/main/assets/RecyclerView.java:11538
↓ 7 callers
Method
onEnterLayoutOrScroll
()
app/src/main/assets/RecyclerView.java:3476
↓ 7 callers
Method
onExitLayoutOrScroll
()
app/src/main/assets/RecyclerView.java:3480
↓ 7 callers
Method
wasReturnedFromScrap
()
app/src/main/assets/RecyclerView.java:11546
↓ 6 callers
Method
getChildCount
()
app/src/main/assets/RecyclerView.java:7526
↓ 6 callers
Method
getItemId
Return the stable ID for the item at <code>position</code>. If {@link #hasStableIds()} would return false this method should return {@link #NO_ID}. Th
app/src/main/assets/RecyclerView.java:7047
↓ 6 callers
Method
getItemId
Returns The itemId represented by this ViewHolder. @return The item's id if adapter has stable ids, {@link RecyclerView#NO_ID} otherwise
app/src/main/assets/RecyclerView.java:11525
↓ 6 callers
Method
hasAnyOfTheFlags
(int flags)
app/src/main/assets/RecyclerView.java:11583
↓ 6 callers
Method
indexOfChild
(View view)
app/src/main/assets/RecyclerView.java:839
↓ 6 callers
Method
log
(String log)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyLog.java:21
↓ 6 callers
Method
postponeAndUpdateViewHolders
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:437
↓ 6 callers
Method
recycleCachedViewAt
Recycles a cached view and removes the view from the list. Views are added to cache if and only if they are recyclable, so this method does not check
app/src/main/assets/RecyclerView.java:6270
↓ 6 callers
Method
recycleViewHolderInternal
internal implementation checks if view is scrapped or attached and throws an exception if so. Public version un-scraps before calling recycle.
app/src/main/assets/RecyclerView.java:6290
↓ 6 callers
Method
removeDetachedView
(View child, boolean animate)
app/src/main/assets/RecyclerView.java:4194
↓ 5 callers
Method
clearReturnedFromScrapFlag
()
app/src/main/assets/RecyclerView.java:11550
↓ 5 callers
Method
consumePendingUpdateOperations
Helper method reflect data changes to the state. <p> Adapter changes during a scroll may trigger a crash because scroll assumes no data change but dat
app/src/main/assets/RecyclerView.java:1871
↓ 5 callers
Method
dispatchLayout
Wrapper around layoutChildren() that handles animating changes caused by layout. Animations work on the assumption that there are five different kinds
app/src/main/assets/RecyclerView.java:3672
↓ 5 callers
Method
getHeightMode
Return the height measurement spec mode of the RecyclerView. <p> This value is set only if the LayoutManager opts into the auto measure api via {@link
app/src/main/assets/RecyclerView.java:9047
↓ 5 callers
Method
getTotalSpace
Returns the total space to layout. This number is the difference between {@link #getEndAfterPadding()} and {@link #getStartAfterPadding()}. @return T
app/src/main/assets/OrientationHelper.java:183
↓ 5 callers
Method
getUnmodifiedPayloads
()
app/src/main/assets/RecyclerView.java:11626
↓ 5 callers
Method
getWidthMode
Return the width measurement spec mode of the RecyclerView. <p> This value is set only if the LayoutManager opts into the auto measure api via {@link
app/src/main/assets/RecyclerView.java:9027
↓ 5 callers
Method
isItemRemoved
Returns true if the adapter data item corresponding to the view this LayoutParams is attached to has been removed from the data set. A LayoutManager m
app/src/main/assets/RecyclerView.java:11983
↓ 5 callers
Method
isRunning
Method which returns whether there are any item animations currently running. This method can be used to determine whether to delay other actions unti
app/src/main/assets/RecyclerView.java:13603
↓ 5 callers
Method
isUpdated
()
app/src/main/assets/RecyclerView.java:11769
↓ 5 callers
Method
onDispatchSecondPass
(UpdateOp updateOp)
app/src/main/assets/AdapterHelper.java:776
↓ 5 callers
Method
postAnimationRunner
Post a runnable to the next frame to run pending item animations. Only the first such request will be posted, governed by the mPostedAnimatorRunner fl
app/src/main/assets/RecyclerView.java:3593
↓ 5 callers
Method
postOnAnimation
Causes the Runnable to execute on the next animation time step. The runnable will be run on the user interface thread. <p> Calling this method when La
app/src/main/assets/RecyclerView.java:8129
↓ 5 callers
Method
setFlags
(int flags, int mask)
app/src/main/assets/RecyclerView.java:11595
↓ 5 callers
Method
stop
Stops running the SmoothScroller in each animation callback. Note that this does not cancel any existing {@link Action} updated by {@link #onTargetFou
app/src/main/assets/RecyclerView.java:12150
↓ 5 callers
Method
unscrapView
Remove a previously scrapped view from the pool of eligible scrap. <p>This view will no longer be eligible for reuse until re-scrapped or until it is
app/src/main/assets/RecyclerView.java:6458
↓ 4 callers
Method
addAnimatingView
Adds a view to the animatingViews list. mAnimatingViews holds the child views that are currently being kept around purely for the purpose of being ani
app/src/main/assets/RecyclerView.java:1444
↓ 4 callers
Method
addView
(View child, int index)
app/src/main/assets/RecyclerView.java:827
↓ 4 callers
Method
assertNotInLayoutOrScroll
(String message)
app/src/main/assets/LinearLayoutManager.java:1473
↓ 4 callers
Method
cancelTouch
()
app/src/main/assets/RecyclerView.java:3269
↓ 4 callers
Method
chooseSize
Chooses a size from the given specs and parameters that is closest to the desired size and also complies with the spec. @param spec The measureSpec @
app/src/main/assets/RecyclerView.java:7849
↓ 4 callers
Method
clearOldPosition
()
app/src/main/assets/RecyclerView.java:11411
↓ 4 callers
Method
computeScrollOffset
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1227
↓ 4 callers
Method
dispatchAndUpdateViewHolders
(UpdateOp op)
app/src/main/assets/AdapterHelper.java:229
↓ 4 callers
Method
dispatchLayoutStep2
The second layout step where we do the actual layout of the views for the final state. This step might be run multiple times if necessary (e.g. measur
app/src/main/assets/RecyclerView.java:3974
↓ 4 callers
Method
endAnimations
Method called when all item animations should be ended immediately. This could happen when other events, like scrolling, occur, so that animating view
app/src/main/assets/RecyclerView.java:13592
↓ 4 callers
Method
findContainingItemView
Traverses the ancestors of the given view and returns the item view that contains it and also a direct child of the RecyclerView. This returned view c
app/src/main/assets/RecyclerView.java:4675
↓ 4 callers
Method
getChangedHolderKey
Returns a unique key to be used while handling change animations. It might be child's position or stable id depending on the adapter type.
app/src/main/assets/RecyclerView.java:4221
↓ 4 callers
Method
getChildClosestToEnd
Convenience method to find the child closes to end. Caller should check it has enough children. @return The child closes to end of the layout from us
app/src/main/assets/LinearLayoutManager.java:1847
↓ 4 callers
Method
getChildClosestToStart
Convenience method to find the child closes to start. Caller should check it has enough children. @return The child closes to start of the layout fro
app/src/main/assets/LinearLayoutManager.java:1835
↓ 4 callers
Method
getChildMeasureSpec
Calculate a MeasureSpec value for measuring a child view in one dimension. @param parentSize Size of the parent view where the child will be placed @
app/src/main/assets/RecyclerView.java:9520
next →
1–100 of 867, ranked by callers