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
↓ 2 callers
Method
dispatchDetachedFromWindow
(RecyclerView view, Recycler recycler)
app/src/main/assets/RecyclerView.java:8099
↓ 2 callers
Method
dispatchFirstPassAndUpdateViewHolders
(UpdateOp op, int offsetStart)
app/src/main/assets/AdapterHelper.java:316
↓ 2 callers
Method
dispatchLayoutStep1
1.处理Adapter的更新 2.决定那些动画需要执行 3.保存当前View的信息 4.如果必要的话,执行上一个Layout的操作并且保存他的信息
app/src/main/assets/RecyclerView.java:3880
↓ 2 callers
Method
dispatchNestedPreScroll
(int dx, int dy, int[] consumed, int[] offsetInWindow)
app/src/main/assets/RecyclerView.java:11891
↓ 2 callers
Method
dispatchNestedScroll
(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, i
app/src/main/assets/RecyclerView.java:11877
↓ 2 callers
Method
dispatchUpdate
(AdapterHelper.UpdateOp op)
app/src/main/assets/RecyclerView.java:989
↓ 2 callers
Method
endAnimation
Method called when an animation on a view should be ended immediately. This could happen when other events, like scrolling, occur, so that animating v
app/src/main/assets/RecyclerView.java:13579
↓ 2 callers
Method
ensureBottomGlow
()
app/src/main/assets/RecyclerView.java:2542
↓ 2 callers
Method
ensureLeftGlow
()
app/src/main/assets/RecyclerView.java:2502
↓ 2 callers
Method
ensureRightGlow
()
app/src/main/assets/RecyclerView.java:2515
↓ 2 callers
Method
ensureTopGlow
()
app/src/main/assets/RecyclerView.java:2528
↓ 2 callers
Method
findFirstPartiallyOrCompletelyInvisibleChild
(RecyclerView.Recycler recycler, RecyclerView.St
app/src/main/assets/LinearLayoutManager.java:1984
↓ 2 callers
Method
findFirstReferenceChild
(RecyclerView.Recycler recycler, RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1930
↓ 2 callers
Method
findLastPartiallyOrCompletelyInvisibleChild
(RecyclerView.Recycler recycler, RecyclerView.Sta
app/src/main/assets/LinearLayoutManager.java:1989
↓ 2 callers
Method
findLastReferenceChild
(RecyclerView.Recycler recycler, RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1934
↓ 2 callers
Method
findMinMaxChildLayoutPositions
(int[] into)
app/src/main/assets/RecyclerView.java:4162
↓ 2 callers
Method
findOnePartiallyOrCompletelyInvisibleChild
(int fromIndex, int toIndex)
app/src/main/assets/LinearLayoutManager.java:2109
↓ 2 callers
Method
findReferenceChild
(RecyclerView.Recycler recycler, RecyclerView.State state, int start, int end, int
app/src/main/assets/LinearLayoutManager.java:1939
↓ 2 callers
Method
findViewByPosition
{@inheritDoc}
app/src/main/assets/LinearLayoutManager.java:469
↓ 2 callers
Method
findViewHolder
(int position)
app/src/main/assets/AdapterHelper.java:766
↓ 2 callers
Method
findViewHolderForAdapterPosition
Return the ViewHolder for the item in the given position of the data set. Unlike {@link #findViewHolderForLayoutPosition(int)} this method takes into
app/src/main/assets/RecyclerView.java:4821
↓ 2 callers
Method
findViewHolderForPosition
@deprecated use {@link #findViewHolderForLayoutPosition(int)} or {@link #findViewHolderForAdapterPosition(int)}
app/src/main/assets/RecyclerView.java:4772
↓ 2 callers
Method
fixLayoutEndGap
@return The final offset amount for children
app/src/main/assets/LinearLayoutManager.java:1010
↓ 2 callers
Method
fixLayoutStartGap
@return The final offset amount for children
app/src/main/assets/LinearLayoutManager.java:1037
↓ 2 callers
Method
fling
Begin a standard fling with an initial velocity along each axis in pixels per second. If the velocity given is below the system-defined minimum this m
app/src/main/assets/RecyclerView.java:2306
↓ 2 callers
Method
generateDefaultLayoutParams
()
app/src/main/assets/RecyclerView.java:4367
↓ 2 callers
Method
generateLayoutParams
(AttributeSet attrs)
app/src/main/assets/RecyclerView.java:4375
↓ 2 callers
Method
getAdapter
Retrieves the previously set adapter or null if no adapter is set. @return The previously set adapter @see #setAdapter(Adapter)
app/src/main/assets/RecyclerView.java:1219
↓ 2 callers
Method
getAdapterPositionFor
(ViewHolder viewHolder)
app/src/main/assets/RecyclerView.java:11808
↓ 2 callers
Method
getChildPosition
@see RecyclerView#getChildLayoutPosition(android.view.View)
app/src/main/assets/RecyclerView.java:12239
↓ 2 callers
Method
getDecoratedBottom
Returns the bottom edge of the given child view within its parent, offset by any applied {@link ItemDecoration ItemDecorations}. @param child Child t
app/src/main/assets/RecyclerView.java:9827
↓ 2 callers
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:9771
↓ 2 callers
Method
getDecoratedBoundsWithMarginsInt
(View view, Rect outBounds)
app/src/main/assets/RecyclerView.java:5005
↓ 2 callers
Method
getDecoratedLeft
Returns the left edge of the given child view within its parent, offset by any applied {@link ItemDecoration ItemDecorations}. @param child Child to
app/src/main/assets/RecyclerView.java:9785
↓ 2 callers
Method
getDecoratedMeasuredHeight
Returns the measured height of the given child, plus the additional size of any insets applied by {@link ItemDecoration ItemDecorations}. @param chil
app/src/main/assets/RecyclerView.java:9639
↓ 2 callers
Method
getDecoratedMeasuredWidth
Returns the measured width of the given child, plus the additional size of any insets applied by {@link ItemDecoration ItemDecorations}. @param child
app/src/main/assets/RecyclerView.java:9623
↓ 2 callers
Method
getDecoratedRight
Returns the right edge of the given child view within its parent, offset by any applied {@link ItemDecoration ItemDecorations}. @param child Child to
app/src/main/assets/RecyclerView.java:9813
↓ 2 callers
Method
getDecoratedTop
Returns the top edge of the given child view within its parent, offset by any applied {@link ItemDecoration ItemDecorations}. @param child Child to q
app/src/main/assets/RecyclerView.java:9799
↓ 2 callers
Method
getEnd
Returns the end position of the layout without taking padding into account. @return The end boundary for this layout without considering padding.
app/src/main/assets/OrientationHelper.java:168
↓ 2 callers
Method
getEndPadding
Returns the padding at the end of the layout. For horizontal helper, this is the right padding and for vertical helper, this is the bottom padding. Th
app/src/main/assets/OrientationHelper.java:200
↓ 2 callers
Method
getExtraLayoutSpace
<p>Returns the amount of extra space that should be laid out by LayoutManager.</p> <p> <p>By default, {@link android.support.v7.widget.LinearLayoutMan
app/src/main/assets/LinearLayoutManager.java:509
↓ 2 callers
Method
getItemDecorationCount
Returns the number of {@link ItemDecoration} currently added to this RecyclerView. @return number of ItemDecorations currently added added to this Re
app/src/main/assets/RecyclerView.java:1654
↓ 2 callers
Method
getItemViewType
@return The view type of this ViewHolder.
app/src/main/assets/RecyclerView.java:11534
↓ 2 callers
Method
getMinimumHeight
@return The host RecyclerView's {@link View#getMinimumHeight()}
app/src/main/assets/RecyclerView.java:10470
↓ 2 callers
Method
getMinimumWidth
@return The host RecyclerView's {@link View#getMinimumWidth()}
app/src/main/assets/RecyclerView.java:10461
↓ 2 callers
Method
getPosition
Returns the adapter position of the item represented by the given View. This does not contain any adapter changes that might have happened after the l
app/src/main/assets/RecyclerView.java:8715
↓ 2 callers
Method
getRandColorCode
获取十六进制的颜色代码.例如 "#6E36B4" , For HTML , @return String
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:148
↓ 2 callers
Method
getRecycledView
(int viewType)
app/src/main/assets/RecyclerView.java:5545
↓ 2 callers
Method
getTransformedEndWithDecoration
Returns the end of the View after its matrix transformations are applied to its layout position. <p> This method is useful when trying to detect the v
app/src/main/assets/OrientationHelper.java:111
↓ 2 callers
Method
getTransformedStartWithDecoration
Returns the start of the View after its matrix transformations are applied to its layout position. <p> This method is useful when trying to detect the
app/src/main/assets/OrientationHelper.java:127
↓ 2 callers
Method
hasAnyUpdateTypes
(int updateTypes)
app/src/main/assets/AdapterHelper.java:465
↓ 2 callers
Method
invalidateGlows
()
app/src/main/assets/RecyclerView.java:2555
↓ 2 callers
Method
isAccessibilityEnabled
()
app/src/main/assets/RecyclerView.java:3499
↓ 2 callers
Method
isItemChanged
Returns true if the adapter data item corresponding to the view this LayoutParams is attached to has been changed in the data set. A LayoutManager may
app/src/main/assets/RecyclerView.java:11996
↓ 2 callers
Method
isPendingInitialRun
Returns true if SmoothScroller has been started but has not received the first animation callback yet. @return True if this SmoothScroller is waiting
app/src/main/assets/RecyclerView.java:12176
↓ 2 callers
Method
isRecyclable
@return true if this item is available to be recycled, false otherwise. @see #setIsRecyclable(boolean)
app/src/main/assets/RecyclerView.java:11744
↓ 2 callers
Method
loaAllCache
(TextView tv, RecyclerView rcy)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyLog.java:96
↓ 2 callers
Method
notifyItemRangeChanged
Notify any registered observers that the <code>itemCount</code> items starting at position <code>positionStart</code> have changed. Equivalent to call
app/src/main/assets/RecyclerView.java:7336
↓ 2 callers
Method
obtainHolderInfo
Returns a new {@link ItemHolderInfo} which will be used to store information about the ViewHolder. This information will later be passed into <code>an
app/src/main/assets/RecyclerView.java:13803
↓ 2 callers
Method
offsetChildrenHorizontal
Offset the bounds of all child views by <code>dx</code> pixels. Useful for implementing simple scrolling in {@link LayoutManager LayoutManagers}. @pa
app/src/main/assets/RecyclerView.java:4985
↓ 2 callers
Method
offsetChildrenVertical
Offset the bounds of all child views by <code>dy</code> pixels. Useful for implementing simple scrolling in {@link LayoutManager LayoutManagers}. @pa
app/src/main/assets/RecyclerView.java:4941
↓ 2 callers
Method
offsetPositionRecordsForRemove
(int positionStart, int itemCount, boolean applyToPreLayout)
app/src/main/assets/RecyclerView.java:4481
↓ 2 callers
Method
offsetPositionsForAdd
(int positionStart, int itemCount)
app/src/main/assets/AdapterHelper.java:778
↓ 2 callers
Method
offsetPositionsForMove
(int from, int to)
app/src/main/assets/AdapterHelper.java:780
↓ 2 callers
Method
offsetPositionsForRemovingInvisible
(int positionStart, int itemCount)
app/src/main/assets/AdapterHelper.java:768
↓ 2 callers
Method
onAnimationsFinished
Notifies when all pending or running animations in an ItemAnimator are finished.
app/src/main/assets/RecyclerView.java:13833
↓ 2 callers
Method
onChildAttachedToWindow
Called when an item view is attached to this RecyclerView. <p>Subclasses of RecyclerView may want to perform extra bookkeeping or modifications of ch
app/src/main/assets/RecyclerView.java:4960
↓ 2 callers
Method
onFocusSearchFailed
Called when searching for a focusable view in the given direction has failed for the current content of the RecyclerView. <p>This is the LayoutManage
app/src/main/assets/RecyclerView.java:9951
↓ 2 callers
Method
onInterceptTouchEvent
Silently observe and/or take over touch events sent to the RecyclerView before they are handled by either the RecyclerView itself or its child views.
app/src/main/assets/RecyclerView.java:11050
↓ 2 callers
Method
onItemRangeChanged
(int positionStart, int itemCount)
app/src/main/assets/RecyclerView.java:12048
↓ 2 callers
Method
onItemRangeInserted
(int positionStart, int itemCount)
app/src/main/assets/RecyclerView.java:12058
↓ 2 callers
Method
onItemRangeMoved
(int fromPosition, int toPosition, int itemCount)
app/src/main/assets/RecyclerView.java:12066
↓ 2 callers
Method
onItemRangeRemoved
(int positionStart, int itemCount)
app/src/main/assets/RecyclerView.java:12062
↓ 2 callers
Method
onLayoutChildren
Lay out all relevant child views from the given adapter. The LayoutManager is in charge of the behavior of item animations. By default, RecyclerView
app/src/main/assets/RecyclerView.java:8282
↓ 2 callers
Method
onPointerUp
(MotionEvent e)
app/src/main/assets/RecyclerView.java:3274
↓ 2 callers
Method
onViewRecycled
This method is called whenever the view in the ViewHolder is recycled. RecyclerView calls this method right before clearing ViewHolder's internal dat
app/src/main/assets/RecyclerView.java:11165
↓ 2 callers
Method
preProcess
遍历mPendingUpdates
app/src/main/assets/AdapterHelper.java:94
↓ 2 callers
Method
predictiveItemAnimationsEnabled
()
app/src/main/assets/RecyclerView.java:3600
↓ 2 callers
Method
processAdapterUpdatesAndSetAnimationFlags
在onMeasure和dispatchLayout1和dispatchLayout2中调用
app/src/main/assets/RecyclerView.java:3615
↓ 2 callers
Method
quickRecycleScrapView
Used as a fast path for unscrapping and recycling a view during a bulk operation. The caller must call {@link #clearScrap()} when it's done to update
app/src/main/assets/RecyclerView.java:6410
↓ 2 callers
Method
recordAnimationInfoIfBouncedHiddenView
Records the animation information for a view holder that was bounced from hidden list. It also clears the bounce back flag.
app/src/main/assets/RecyclerView.java:4150
↓ 2 callers
Method
recycleAndClearCachedViews
()
app/src/main/assets/RecyclerView.java:6246
↓ 2 callers
Method
recycleByLayoutState
Helper method to call appropriate recycle method depending on current layout direction @param recycler Current recycler that is attached to Recycl
app/src/main/assets/LinearLayoutManager.java:1611
↓ 2 callers
Method
recycleView
Recycle a detached view. The specified view will be added to a pool of views for later rebinding and reuse. <p>A view must be fully detached (removed
app/src/main/assets/RecyclerView.java:6218
↓ 2 callers
Method
removeViewAt
(int index)
app/src/main/assets/RecyclerView.java:844
↓ 2 callers
Method
removeViewAt
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:8673
↓ 2 callers
Method
repositionShadowingViews
()
app/src/main/assets/RecyclerView.java:5396
↓ 2 callers
Method
requestChildOnScreen
Requests that the given child of the RecyclerView be positioned onto the screen. This method can be called for both unfocusable and focusable child vi
app/src/main/assets/RecyclerView.java:2749
↓ 2 callers
Method
requestDisallowInterceptTouchEvent
(boolean disallowIntercept)
app/src/main/assets/RecyclerView.java:3100
↓ 2 callers
Method
reset
()
app/src/main/assets/RecyclerView.java:12780
↓ 2 callers
Method
resetFocusInfo
()
app/src/main/assets/RecyclerView.java:3722
↓ 2 callers
Method
resetTouch
()
app/src/main/assets/RecyclerView.java:3261
↓ 2 callers
Method
resolveIsInfinite
()
app/src/main/assets/LinearLayoutManager.java:1331
↓ 2 callers
Method
run
()
app/src/main/assets/RecyclerView.java:389
↓ 2 callers
Method
runIfNecessary
(RecyclerView recyclerView)
app/src/main/assets/RecyclerView.java:12425
↓ 2 callers
Method
runningAverage
(long oldAverage, long newValue)
app/src/main/assets/RecyclerView.java:5578
↓ 2 callers
Method
scrapView
Mark an attached view as scrap. <p>"Scrap" views are still attached to their parent RecyclerView but are eligible for rebinding and reuse. Requests f
app/src/main/assets/RecyclerView.java:6429
↓ 2 callers
Method
scrollHorizontallyBy
Scroll horizontally by dx pixels in screen coordinates and return the distance traveled. The default implementation does nothing and returns 0. @para
app/src/main/assets/RecyclerView.java:8397
↓ 2 callers
Method
scrollToPosition
Convenience method to scroll to a certain position. RecyclerView does not implement scrolling logic, rather forwards the call to {@link android.suppo
app/src/main/assets/RecyclerView.java:1787
↓ 2 callers
Method
scrollVerticallyBy
Scroll vertically by dy pixels in screen coordinates and return the distance traveled. The default implementation does nothing and returns 0. @param
app/src/main/assets/RecyclerView.java:8416
← previous
next →
201–300 of 867, ranked by callers