MCPcopy Create free account

hub / github.com/DrownCoder/RecyclerViewStudy / functions

Functions867 in github.com/DrownCoder/RecyclerViewStudy

↓ 1 callersMethodrecordPostLayoutInformation
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 callersMethodrecoverFocusFromState
()
app/src/main/assets/RecyclerView.java:3766
↓ 1 callersMethodrecycleViewsFromEnd
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 callersMethodrecycleViewsFromStart
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 callersMethodregisterAdapterDataObserver
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 callersMethodreleaseGlows
()
app/src/main/assets/RecyclerView.java:2434
↓ 1 callersMethodremove
(Object o)
app/src/main/java/com/study/xuan/recyclerviewstudy/ArrayListWrapper.java:13
↓ 1 callersMethodremoveAndRecycleView
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 callersMethodremoveAndRecycleViews
Removes and recycles all views - both those currently attached, and those in the Recycler.
app/src/main/assets/RecyclerView.java:1159
↓ 1 callersMethodremoveAnimatingView
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 callersMethodremoveItemDecoration
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 callersMethodremoveView
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 callersMethodrequestChildRectangleOnScreen
(View child, Rect rect, boolean immediate)
app/src/main/assets/RecyclerView.java:2777
↓ 1 callersMethodresetInternal
()
app/src/main/assets/LinearLayoutManager.java:2697
↓ 1 callersMethodrunPendingAnimations
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 callersMethodsaveFocusInfo
()
app/src/main/assets/RecyclerView.java:3701
↓ 1 callersMethodsaveOldPosition
()
app/src/main/assets/RecyclerView.java:11416
↓ 1 callersMethodsaveOldPositions
()
app/src/main/assets/RecyclerView.java:4405
↓ 1 callersMethodsendAccessibilityEventUnchecked
(AccessibilityEvent event)
app/src/main/assets/RecyclerView.java:3564
↓ 1 callersMethodsetAccessibilityDelegateCompat
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 callersMethodsetAllCache
()
app/src/main/java/com/study/xuan/recyclerviewstudy/SRecyclerView.java:59
↓ 1 callersMethodsetNestedScrollingEnabled
(boolean enabled)
app/src/main/assets/RecyclerView.java:11837
↓ 1 callersMethodsetRecycleChildrenOnDetach
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 callersMethodsetRecycledViewPool
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 callersMethodsetStackFromEnd
Compatibility support for {@link android.widget.AbsListView#setStackFromBottom(boolean)}
app/src/main/assets/LinearLayoutManager.java:357
↓ 1 callersMethodsetViewCacheSize
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 callersMethodshouldBeKeptAsChild
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 callersMethodshouldDeferAccessibilityEvent
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 callersMethodshouldMeasureTwice
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 callersMethodstart
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 callersMethodstartSmoothScroll
<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 callersMethodstopIgnoring
()
app/src/main/assets/RecyclerView.java:11558
↓ 1 callersMethodstopSmoothScroller
()
app/src/main/assets/RecyclerView.java:10494
↓ 1 callersMethodsupportsPredictiveItemAnimations
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 callersMethodtryGetViewHolderForPositionByDeadline
注释写的很清楚,从Recycler的scrap,cache,RecyclerViewPool,或者直接create创建
app/src/main/assets/RecyclerView.java:5995
↓ 1 callersMethodunregisterAdapterDataObserver
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 callersMethodupdateAnchorFromChildren
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 callersMethodupdateAnchorFromPendingData
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 callersMethodupdateAnchorInfoForLayout
(RecyclerView.Recycler recycler, RecyclerView.State state, AnchorIn
app/src/main/assets/LinearLayoutManager.java:847
↓ 1 callersMethodvalidate
()
app/src/main/assets/RecyclerView.java:12458
↓ 1 callersMethodvalidateViewHolderForOffsetPosition
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 callersMethodviewRangeUpdate
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 callersMethodwillBindInTime
(int viewType, long approxCurrentNs, long deadlineNs)
app/src/main/assets/RecyclerView.java:5602
↓ 1 callersMethodwillCreateInTime
(int viewType, long approxCurrentNs, long deadlineNs)
app/src/main/assets/RecyclerView.java:5597
↓ 1 callersMethodwillRunPredictiveAnimations
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
MethodAction
@param dx Pixels to scroll horizontally @param dy Pixels to scroll vertically
app/src/main/assets/RecyclerView.java:12369
MethodAdapterHelper
(Callback callback)
app/src/main/assets/AdapterHelper.java:70
MethodAnchorInfo
()
app/src/main/assets/LinearLayoutManager.java:2593
MethodImageChildViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyChildAdapter.java:50
MethodImageViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:112
MethodItemAnimatorRestoreListener
()
app/src/main/assets/RecyclerView.java:13058
MethodItemHolderInfo
()
app/src/main/assets/RecyclerView.java:13889
MethodLayoutParams
(Context c, AttributeSet attrs)
app/src/main/assets/RecyclerView.java:11930
MethodLinearLayoutManager
Creates a vertical LinearLayoutManager @param context Current context, will be used to access resources.
app/src/main/assets/LinearLayoutManager.java:193
MethodOrientationHelper
(RecyclerView.LayoutManager layoutManager)
app/src/main/assets/OrientationHelper.java:46
MethodRcyAdapter
(List<RcyModel> mData, Context mContext, RecyclerView recyclerView, TextView tvCreateAndBind)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:30
MethodRcyChildAdapter
(Context context, List<Integer> mData, TextView tvCreateAndBind)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyChildAdapter.java:24
MethodRcyViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:121
MethodRecyclerView
(Context context)
app/src/main/assets/RecyclerView.java:631
MethodRecyclerViewDataObserver
()
app/src/main/assets/RecyclerView.java:5416
MethodSRecyclerView
(Context context)
app/src/main/java/com/study/xuan/recyclerviewstudy/SRecyclerView.java:31
MethodSavedState
called by CREATOR
app/src/main/assets/RecyclerView.java:12631
MethodSavedState
()
app/src/main/assets/LinearLayoutManager.java:2532
MethodSmoothScroller
()
app/src/main/assets/RecyclerView.java:12095
MethodTextViewHolder
(View itemView)
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:102
MethodUpdateOp
(int cmd, int positionStart, int itemCount, Object payload)
app/src/main/assets/AdapterHelper.java:656
MethodViewFlinger
()
app/src/main/assets/RecyclerView.java:5161
MethodViewHolder
(View itemView)
app/src/main/assets/RecyclerView.java:11382
MethodaddFocusables
(ArrayList<View> views, int direction, int focusableMode)
app/src/main/assets/RecyclerView.java:2782
MethodaddItemDecoration
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
MethodaddOnChildAttachStateChangeListener
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
MethodaddOnItemTouchListener
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
MethodaddUpdateOp
(UpdateOp... ops)
app/src/main/assets/AdapterHelper.java:80
MethodaddView
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
Methodaddition_isCorrect
()
app/src/test/java/com/study/xuan/recyclerviewstudy/ExampleUnitTest.java:13
MethodafterLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/MainActivity.java:40
MethodafterLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:135
MethodassertInLayoutOrScroll
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
MethodassertInLayoutOrScroll
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
MethodbeforeLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/MainActivity.java:35
MethodbeforeLayout
()
app/src/main/java/com/study/xuan/recyclerviewstudy/RcyAdapter.java:130
MethodbindViewToPosition
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
MethodcalculateItemDecorationsForChild
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
MethodcanReuseUpdatedViewHolder
(ViewHolder viewHolder)
app/src/main/assets/RecyclerView.java:4543
MethodcanScrollHorizontally
@return true if {@link #getOrientation()} is {@link #HORIZONTAL}
app/src/main/assets/LinearLayoutManager.java:337
MethodcanScrollVertically
@return true if {@link #getOrientation()} is {@link #VERTICAL}
app/src/main/assets/LinearLayoutManager.java:347
MethodcheckLayoutParams
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
MethodclearOldPositions
()
app/src/main/assets/RecyclerView.java:6792
MethodclearOnChildAttachStateChangeListeners
Removes all listeners that were added via {@link #addOnChildAttachStateChangeListener(OnChildAttachStateChangeListener)}.
app/src/main/assets/RecyclerView.java:1298
MethodclearOnScrollListeners
Remove all secondary listener that were notified of any changes in scroll state or position.
app/src/main/assets/RecyclerView.java:1771
MethodcollectAdjacentPrefetchPositions
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
MethodcollectAdjacentPrefetchPositions
(int dx, int dy, RecyclerView.State state, LayoutPrefetchRegi
app/src/main/assets/LinearLayoutManager.java:1431
MethodcollectInitialPrefetchPositions
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
MethodcollectInitialPrefetchPositions
(int adapterItemCount, LayoutPrefetchRegistry layoutPrefetchRe
app/src/main/assets/LinearLayoutManager.java:1347
MethodcomputeHorizontalScrollExtent
<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
MethodcomputeHorizontalScrollExtent
<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
MethodcomputeHorizontalScrollExtent
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1207
MethodcomputeHorizontalScrollOffset
<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
MethodcomputeHorizontalScrollOffset
<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
MethodcomputeHorizontalScrollOffset
(RecyclerView.State state)
app/src/main/assets/LinearLayoutManager.java:1197
← previousnext →501–600 of 867, ranked by callers