# RecyclerView

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  
belongs to Maven artifact com.android.support:recyclerview-v7:28.0.0-alpha1  
Summary:[Nested Classes](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#nestedclasses)\|[XML Attrs](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#lattrs)\|[Constants](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#constants)\|[Inherited Constants](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#inhconstants)\|[Inherited Fields](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#inhfields)\|[Ctors](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#pubctors)\|[Methods](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#pubmethods)\|[Protected Methods](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#promethods)\|[Inherited Methods](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#inhmethods)\|[\[Expand All\]](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)  

# RecyclerView

| This package is part of the Android[support library](https://developer.android.com/topic/libraries/support-library)which is no longer maintained. The support library has been superseded by[AndroidX](https://developer.android.com/jetpack/androidx)which is part of[Jetpack](https://developer.android.com/jetpack). We recommend using the AndroidX libraries in all new projects. You should also consider[migrating](https://developer.android.com/jetpack/androidx/migrate)existing projects to AndroidX. To find the AndroidX class that maps to this deprecated class, see the AndroidX support library[class mappings](https://developer.android.com/jetpack/androidx/migrate/class-mappings).

`
public


class
RecyclerView
`  
`


``


``

extends `[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)`


``


implements

`[ScrollingView](https://developer.android.com/reference/android/support/v4/view/ScrollingView)`,

`[NestedScrollingChild2](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2)`


`

|---|---|---|----------------------------------------|
| java.lang.Object                                ||||
| ↳ | [android.view.View](https://developer.android.com/reference/android/view/View.html) |||
|   | ↳ | [android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html) ||
|   |   | ↳ | android.support.v7.widget.RecyclerView |

|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)Known Direct Subclasses [BaseGridView](https://developer.android.com/reference/android/support/v17/leanback/widget/BaseGridView),[WearableRecyclerView](https://developer.android.com/reference/android/support/wear/widget/WearableRecyclerView) |------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [BaseGridView](https://developer.android.com/reference/android/support/v17/leanback/widget/BaseGridView)         | An abstract base class for vertically and horizontally scrolling lists.                                                                                                                                                                                                                                                                                                        | | [WearableRecyclerView](https://developer.android.com/reference/android/support/wear/widget/WearableRecyclerView) | Wearable specific implementation of the[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView)enabling[setCircularScrollingGestureEnabled(boolean)](https://developer.android.com/reference/android/support/wear/widget/WearableRecyclerView#setCircularScrollingGestureEnabled(boolean))circular scrolling} and semi-circular layouts. | |

|---|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)Known Indirect Subclasses [HorizontalGridView](https://developer.android.com/reference/android/support/v17/leanback/widget/HorizontalGridView),[VerticalGridView](https://developer.android.com/reference/android/support/v17/leanback/widget/VerticalGridView) |----------------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------| | [HorizontalGridView](https://developer.android.com/reference/android/support/v17/leanback/widget/HorizontalGridView) | A[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)that shows items in a horizontal scrolling list. | | [VerticalGridView](https://developer.android.com/reference/android/support/v17/leanback/widget/VerticalGridView)     | A[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)that shows items in a vertically scrolling list. | ||

<br />

*** ** * ** ***

A flexible view for providing a limited window into a large data set.

### Glossary of terms:

- *Adapter:* A subclass of[RecyclerView.Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter)responsible for providing views that represent items in a data set.
- *Position:* The position of a data item within an*Adapter*.
- *Index:* The index of an attached child view as used in a call to[getChildAt(int)](https://developer.android.com/reference/android/view/ViewGroup.html#getChildAt(int)). Contrast with*Position.*
- *Binding:* The process of preparing a child view to display data corresponding to a*position*within the adapter.
- *Recycle (view):*A view previously used to display data for a specific adapter position may be placed in a cache for later reuse to display the same type of data again later. This can drastically improve performance by skipping initial layout inflation or construction.
- *Scrap (view):* A child view that has entered into a temporarily detached state during layout. Scrap views may be reused without becoming fully detached from the parent RecyclerView, either unmodified if no rebinding is required or modified by the adapter if the view was considered*dirty*.
- *Dirty (view):*A child view that must be rebound by the adapter before being displayed.

#### Positions in RecyclerView:

RecyclerView introduces an additional level of abstraction between the[RecyclerView.Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter)and[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)to be able to detect data set changes in batches during a layout calculation. This saves LayoutManager from tracking adapter changes to calculate animations. It also helps with performance because all view bindings happen at the same time and unnecessary bindings are avoided.

For this reason, there are two types of`position`related methods in RecyclerView:

- layout position: Position of an item in the latest layout calculation. This is the position from the LayoutManager's perspective.
- adapter position: Position of an item in the adapter. This is the position from the Adapter's perspective.

These two positions are the same except the time between dispatching`adapter.notify*
`events and calculating the updated layout.

Methods that return or receive`*LayoutPosition*`use position as of the latest layout calculation (e.g.[getLayoutPosition()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder#getLayoutPosition()),[findViewHolderForLayoutPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForLayoutPosition(int))). These positions include all changes until the last layout calculation. You can rely on these positions to be consistent with what user is currently seeing on the screen. For example, if you have a list of items on the screen and user asks for the 5^th^element, you should use these methods as they'll match what user is seeing.

The other set of position related methods are in the form of`*AdapterPosition*`. (e.g.[getAdapterPosition()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder#getAdapterPosition()),[findViewHolderForAdapterPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForAdapterPosition(int))) You should use these methods when you need to work with up-to-date adapter positions even if they may not have been reflected to layout yet. For example, if you want to access the item in the adapter on a ViewHolder click, you should use[getAdapterPosition()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder#getAdapterPosition()). Beware that these methods may not be able to calculate adapter positions if[notifyDataSetChanged()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter#notifyDataSetChanged())has been called and new layout has not yet been calculated. For this reasons, you should carefully handle[NO_POSITION](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#NO_POSITION)or`null`results from these methods.

When writing a[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)you almost always want to use layout positions whereas when writing an[RecyclerView.Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter), you probably want to use adapter positions.

## Summary

|                                                                                                                                                                                                                                    ### Nested classes                                                                                                                                                                                                                                    ||
|--------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` class`     | [RecyclerView.Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter)`<VH extends `[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)`>` Base class for an Adapter Adapters provide a binding from an app-specific data set to views that are displayed within a[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView). |
| ` class`     | [RecyclerView.AdapterDataObserver](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.AdapterDataObserver) Observer base class for watching changes to an[RecyclerView.Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter).                                                                                                                                                                       |
| ` interface` | [RecyclerView.ChildDrawingOrderCallback](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ChildDrawingOrderCallback) A callback interface that can be used to alter the drawing order of RecyclerView children.                                                                                                                                                                                                                              |
| ` class`     | [RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory) EdgeEffectFactory lets you customize the over-scroll edge effect for RecyclerViews.                                                                                                                                                                                                                                                     |
| ` class`     | [RecyclerView.ItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator) This class defines the animations that take place on items as changes are made to the adapter.                                                                                                                                                                                                                                                    |
| ` class`     | [RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration) An ItemDecoration allows the application to add a special drawing and layout offset to specific item views from the adapter's data set.                                                                                                                                                                                                       |
| ` class`     | [RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager) A`LayoutManager`is responsible for measuring and positioning item views within a`RecyclerView`as well as determining the policy for when to recycle item views that are no longer visible to the user.                                                                                                                                          |
| ` class`     | [RecyclerView.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutParams) [LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.MarginLayoutParams.html)subclass for children of[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView).                                                                                                                     |
| ` interface` | [RecyclerView.OnChildAttachStateChangeListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnChildAttachStateChangeListener) A Listener interface that can be attached to a RecylcerView to get notified whenever a ViewHolder is attached to or detached from RecyclerView.                                                                                                                                                           |
| ` class`     | [RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener) This class defines the behavior of fling if the developer wishes to handle it.                                                                                                                                                                                                                                                              |
| ` interface` | [RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener) An OnItemTouchListener allows the application to intercept touch events in progress at the view hierarchy level of the RecyclerView before those touch events are considered for RecyclerView's own scrolling behavior.                                                                                                             |
| ` class`     | [RecyclerView.OnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnScrollListener) An OnScrollListener can be added to a RecyclerView to receive messages when a scrolling event has occurred on that RecyclerView.                                                                                                                                                                                                          |
| ` class`     | [RecyclerView.RecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool) RecycledViewPool lets you share Views between multiple RecyclerViews.                                                                                                                                                                                                                                                                     |
| ` class`     | [RecyclerView.Recycler](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Recycler) A Recycler is responsible for managing scrapped or detached item views for reuse.                                                                                                                                                                                                                                                                         |
| ` interface` | [RecyclerView.RecyclerListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecyclerListener) A RecyclerListener can be set on a RecyclerView to receive messages whenever a view is recycled.                                                                                                                                                                                                                                          |
| ` class`     | [RecyclerView.SimpleOnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SimpleOnItemTouchListener) An implementation of[RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener)that has empty method bodies and default return values.                                                                                                       |
| ` class`     | [RecyclerView.SmoothScroller](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SmoothScroller) <br /> Base class for smooth scrolling.                                                                                                                                                                                                                                                                                                       |
| ` class`     | [RecyclerView.State](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.State) <br /> Contains useful information about the current RecyclerView state like target scroll position or view focus.                                                                                                                                                                                                                                              |
| ` class`     | [RecyclerView.ViewCacheExtension](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewCacheExtension) ViewCacheExtension is a helper class to provide an additional layer of view caching that can be controlled by the developer.                                                                                                                                                                                                          |
| ` class`     | [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder) A ViewHolder describes an item view and metadata about its place within the RecyclerView.                                                                                                                                                                                                                                                             |

|                                                                ### XML attributes                                                                 ||
|------------------------------------------------------------------------------------------------------------------------------------------------|---|
| [`RecyclerView_layoutManager`](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#attr_RecyclerView_layoutManager) |   |

|                                                                                                                                         ### Constants                                                                                                                                         ||
|--------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int`  | [HORIZONTAL](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#HORIZONTAL) <br />                                                                                                                                                                        |
| `int`  | [INVALID_TYPE](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#INVALID_TYPE) <br />                                                                                                                                                                    |
| `long` | [NO_ID](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#NO_ID) <br />                                                                                                                                                                                  |
| `int`  | [NO_POSITION](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#NO_POSITION) <br />                                                                                                                                                                      |
| `int`  | [SCROLL_STATE_DRAGGING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_DRAGGING) The RecyclerView is currently being dragged by outside input such as user touch input.                                                                  |
| `int`  | [SCROLL_STATE_IDLE](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_IDLE) The RecyclerView is not currently scrolling.                                                                                                                    |
| `int`  | [SCROLL_STATE_SETTLING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_SETTLING) The RecyclerView is currently animating to a final position while not under outside control.                                                            |
| `int`  | [TOUCH_SLOP_DEFAULT](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#TOUCH_SLOP_DEFAULT) Constant for use with[setScrollingTouchSlop(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setScrollingTouchSlop(int)). |
| `int`  | [TOUCH_SLOP_PAGING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#TOUCH_SLOP_PAGING) Constant for use with[setScrollingTouchSlop(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setScrollingTouchSlop(int)).   |
| `int`  | [VERTICAL](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#VERTICAL) <br />                                                                                                                                                                            |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   ### Inherited constants                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From class` android.view.ViewGroup ` |-------|-------------------------------------| | `int` | `CLIP_TO_PADDING_MASK` <br />       | | `int` | `FOCUS_AFTER_DESCENDANTS` <br />    | | `int` | `FOCUS_BEFORE_DESCENDANTS` <br />   | | `int` | `FOCUS_BLOCK_DESCENDANTS` <br />    | | `int` | `LAYOUT_MODE_CLIP_BOUNDS` <br />    | | `int` | `LAYOUT_MODE_OPTICAL_BOUNDS` <br /> | | `int` | `PERSISTENT_ALL_CACHES` <br />      | | `int` | `PERSISTENT_ANIMATION_CACHE` <br /> | | `int` | `PERSISTENT_NO_CACHE` <br />        | | `int` | `PERSISTENT_SCROLLING_CACHE` <br /> |                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From class` android.view.View ` |----------|----------------------------------------------------------| | `int`    | `ACCESSIBILITY_LIVE_REGION_ASSERTIVE` <br />             | | `int`    | `ACCESSIBILITY_LIVE_REGION_NONE` <br />                  | | `int`    | `ACCESSIBILITY_LIVE_REGION_POLITE` <br />                | | `int`    | `AUTOFILL_FLAG_INCLUDE_NOT_IMPORTANT_VIEWS` <br />       | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE` <br />       | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY` <br />        | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH` <br />      | | `String` | `AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR` <br />       | | `String` | `AUTOFILL_HINT_CREDIT_CARD_NUMBER` <br />                | | `String` | `AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE` <br />         | | `String` | `AUTOFILL_HINT_EMAIL_ADDRESS` <br />                     | | `String` | `AUTOFILL_HINT_NAME` <br />                              | | `String` | `AUTOFILL_HINT_PASSWORD` <br />                          | | `String` | `AUTOFILL_HINT_PHONE` <br />                             | | `String` | `AUTOFILL_HINT_POSTAL_ADDRESS` <br />                    | | `String` | `AUTOFILL_HINT_POSTAL_CODE` <br />                       | | `String` | `AUTOFILL_HINT_USERNAME` <br />                          | | `int`    | `AUTOFILL_TYPE_DATE` <br />                              | | `int`    | `AUTOFILL_TYPE_LIST` <br />                              | | `int`    | `AUTOFILL_TYPE_NONE` <br />                              | | `int`    | `AUTOFILL_TYPE_TEXT` <br />                              | | `int`    | `AUTOFILL_TYPE_TOGGLE` <br />                            | | `int`    | `DRAG_FLAG_GLOBAL` <br />                                | | `int`    | `DRAG_FLAG_GLOBAL_PERSISTABLE_URI_PERMISSION` <br />     | | `int`    | `DRAG_FLAG_GLOBAL_PREFIX_URI_PERMISSION` <br />          | | `int`    | `DRAG_FLAG_GLOBAL_URI_READ` <br />                       | | `int`    | `DRAG_FLAG_GLOBAL_URI_WRITE` <br />                      | | `int`    | `DRAG_FLAG_OPAQUE` <br />                                | | `int`    | `DRAWING_CACHE_QUALITY_AUTO` <br />                      | | `int`    | `DRAWING_CACHE_QUALITY_HIGH` <br />                      | | `int`    | `DRAWING_CACHE_QUALITY_LOW` <br />                       | | `int`    | `FIND_VIEWS_WITH_CONTENT_DESCRIPTION` <br />             | | `int`    | `FIND_VIEWS_WITH_TEXT` <br />                            | | `int`    | `FOCUSABLE` <br />                                       | | `int`    | `FOCUSABLES_ALL` <br />                                  | | `int`    | `FOCUSABLES_TOUCH_MODE` <br />                           | | `int`    | `FOCUSABLE_AUTO` <br />                                  | | `int`    | `FOCUS_BACKWARD` <br />                                  | | `int`    | `FOCUS_DOWN` <br />                                      | | `int`    | `FOCUS_FORWARD` <br />                                   | | `int`    | `FOCUS_LEFT` <br />                                      | | `int`    | `FOCUS_RIGHT` <br />                                     | | `int`    | `FOCUS_UP` <br />                                        | | `int`    | `GONE` <br />                                            | | `int`    | `HAPTIC_FEEDBACK_ENABLED` <br />                         | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_AUTO` <br />                | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_NO` <br />                  | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_NO_HIDE_DESCENDANTS` <br /> | | `int`    | `IMPORTANT_FOR_ACCESSIBILITY_YES` <br />                 | | `int`    | `IMPORTANT_FOR_AUTOFILL_AUTO` <br />                     | | `int`    | `IMPORTANT_FOR_AUTOFILL_NO` <br />                       | | `int`    | `IMPORTANT_FOR_AUTOFILL_NO_EXCLUDE_DESCENDANTS` <br />   | | `int`    | `IMPORTANT_FOR_AUTOFILL_YES` <br />                      | | `int`    | `IMPORTANT_FOR_AUTOFILL_YES_EXCLUDE_DESCENDANTS` <br />  | | `int`    | `INVISIBLE` <br />                                       | | `int`    | `KEEP_SCREEN_ON` <br />                                  | | `int`    | `LAYER_TYPE_HARDWARE` <br />                             | | `int`    | `LAYER_TYPE_NONE` <br />                                 | | `int`    | `LAYER_TYPE_SOFTWARE` <br />                             | | `int`    | `LAYOUT_DIRECTION_INHERIT` <br />                        | | `int`    | `LAYOUT_DIRECTION_LOCALE` <br />                         | | `int`    | `LAYOUT_DIRECTION_LTR` <br />                            | | `int`    | `LAYOUT_DIRECTION_RTL` <br />                            | | `int`    | `MEASURED_HEIGHT_STATE_SHIFT` <br />                     | | `int`    | `MEASURED_SIZE_MASK` <br />                              | | `int`    | `MEASURED_STATE_MASK` <br />                             | | `int`    | `MEASURED_STATE_TOO_SMALL` <br />                        | | `int`    | `NOT_FOCUSABLE` <br />                                   | | `int`    | `NO_ID` <br />                                           | | `int`    | `OVER_SCROLL_ALWAYS` <br />                              | | `int`    | `OVER_SCROLL_IF_CONTENT_SCROLLS` <br />                  | | `int`    | `OVER_SCROLL_NEVER` <br />                               | | `int`    | `SCREEN_STATE_OFF` <br />                                | | `int`    | `SCREEN_STATE_ON` <br />                                 | | `int`    | `SCROLLBARS_INSIDE_INSET` <br />                         | | `int`    | `SCROLLBARS_INSIDE_OVERLAY` <br />                       | | `int`    | `SCROLLBARS_OUTSIDE_INSET` <br />                        | | `int`    | `SCROLLBARS_OUTSIDE_OVERLAY` <br />                      | | `int`    | `SCROLLBAR_POSITION_DEFAULT` <br />                      | | `int`    | `SCROLLBAR_POSITION_LEFT` <br />                         | | `int`    | `SCROLLBAR_POSITION_RIGHT` <br />                        | | `int`    | `SCROLL_AXIS_HORIZONTAL` <br />                          | | `int`    | `SCROLL_AXIS_NONE` <br />                                | | `int`    | `SCROLL_AXIS_VERTICAL` <br />                            | | `int`    | `SCROLL_INDICATOR_BOTTOM` <br />                         | | `int`    | `SCROLL_INDICATOR_END` <br />                            | | `int`    | `SCROLL_INDICATOR_LEFT` <br />                           | | `int`    | `SCROLL_INDICATOR_RIGHT` <br />                          | | `int`    | `SCROLL_INDICATOR_START` <br />                          | | `int`    | `SCROLL_INDICATOR_TOP` <br />                            | | `int`    | `SOUND_EFFECTS_ENABLED` <br />                           | | `int`    | `STATUS_BAR_HIDDEN` <br />                               | | `int`    | `STATUS_BAR_VISIBLE` <br />                              | | `int`    | `SYSTEM_UI_FLAG_FULLSCREEN` <br />                       | | `int`    | `SYSTEM_UI_FLAG_HIDE_NAVIGATION` <br />                  | | `int`    | `SYSTEM_UI_FLAG_IMMERSIVE` <br />                        | | `int`    | `SYSTEM_UI_FLAG_IMMERSIVE_STICKY` <br />                 | | `int`    | `SYSTEM_UI_FLAG_LAYOUT_FULLSCREEN` <br />                | | `int`    | `SYSTEM_UI_FLAG_LAYOUT_HIDE_NAVIGATION` <br />           | | `int`    | `SYSTEM_UI_FLAG_LAYOUT_STABLE` <br />                    | | `int`    | `SYSTEM_UI_FLAG_LIGHT_NAVIGATION_BAR` <br />             | | `int`    | `SYSTEM_UI_FLAG_LIGHT_STATUS_BAR` <br />                 | | `int`    | `SYSTEM_UI_FLAG_LOW_PROFILE` <br />                      | | `int`    | `SYSTEM_UI_FLAG_VISIBLE` <br />                          | | `int`    | `SYSTEM_UI_LAYOUT_FLAGS` <br />                          | | `int`    | `TEXT_ALIGNMENT_CENTER` <br />                           | | `int`    | `TEXT_ALIGNMENT_GRAVITY` <br />                          | | `int`    | `TEXT_ALIGNMENT_INHERIT` <br />                          | | `int`    | `TEXT_ALIGNMENT_TEXT_END` <br />                         | | `int`    | `TEXT_ALIGNMENT_TEXT_START` <br />                       | | `int`    | `TEXT_ALIGNMENT_VIEW_END` <br />                         | | `int`    | `TEXT_ALIGNMENT_VIEW_START` <br />                       | | `int`    | `TEXT_DIRECTION_ANY_RTL` <br />                          | | `int`    | `TEXT_DIRECTION_FIRST_STRONG` <br />                     | | `int`    | `TEXT_DIRECTION_FIRST_STRONG_LTR` <br />                 | | `int`    | `TEXT_DIRECTION_FIRST_STRONG_RTL` <br />                 | | `int`    | `TEXT_DIRECTION_INHERIT` <br />                          | | `int`    | `TEXT_DIRECTION_LOCALE` <br />                           | | `int`    | `TEXT_DIRECTION_LTR` <br />                              | | `int`    | `TEXT_DIRECTION_RTL` <br />                              | | `String` | `VIEW_LOG_TAG` <br />                                    | | `int`    | `VISIBLE` <br />                                         | |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      ### Inherited fields                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From class` android.view.View ` |------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------| | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ALPHA` <br />                                                     | | ` protected static final int[]`                                                                                                                                                          | `EMPTY_STATE_SET` <br />                                           | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_SELECTED_STATE_SET` <br />                        | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />         | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_STATE_SET` <br />                                 | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />                  | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_SELECTED_STATE_SET` <br />                                | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                 | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_STATE_SET` <br />                                         | | ` protected static final int[]`                                                                                                                                                          | `ENABLED_WINDOW_FOCUSED_STATE_SET` <br />                          | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_SELECTED_STATE_SET` <br />                                | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                 | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_STATE_SET` <br />                                         | | ` protected static final int[]`                                                                                                                                                          | `FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />                          | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_SELECTED_STATE_SET` <br />                | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br /> | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_STATE_SET` <br />                         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />          | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_SELECTED_STATE_SET` <br />                        | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_STATE_SET` <br />                                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_ENABLED_WINDOW_FOCUSED_STATE_SET` <br />                  | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_SELECTED_STATE_SET` <br />                        | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_STATE_SET` <br />                                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_FOCUSED_WINDOW_FOCUSED_STATE_SET` <br />                  | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_SELECTED_STATE_SET` <br />                                | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                 | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_STATE_SET` <br />                                         | | ` protected static final int[]`                                                                                                                                                          | `PRESSED_WINDOW_FOCUSED_STATE_SET` <br />                          | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ROTATION` <br />                                                  | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ROTATION_X` <br />                                                | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `ROTATION_Y` <br />                                                | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `SCALE_X` <br />                                                   | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `SCALE_Y` <br />                                                   | | ` protected static final int[]`                                                                                                                                                          | `SELECTED_STATE_SET` <br />                                        | | ` protected static final int[]`                                                                                                                                                          | `SELECTED_WINDOW_FOCUSED_STATE_SET` <br />                         | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `TRANSLATION_X` <br />                                             | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `TRANSLATION_Y` <br />                                             | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `TRANSLATION_Z` <br />                                             | | ` protected static final int[]`                                                                                                                                                          | `WINDOW_FOCUSED_STATE_SET` <br />                                  | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `X` <br />                                                         | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `Y` <br />                                                         | | ` public static final `[Property](https://developer.android.com/reference/android/util/Property.html)`<`[View](https://developer.android.com/reference/android/view/View.html)`, Float>` | `Z` <br />                                                         | |

|                                                                                                                                                                                ### Public constructors                                                                                                                                                                                 ||
|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|---|
| ` `[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#RecyclerView(android.content.Context))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context) `                                                                                                                                               |
| ` `[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#RecyclerView(android.content.Context, android.util.AttributeSet))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) `                    |
| ` `[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#RecyclerView(android.content.Context, android.util.AttributeSet, int))`(`[Context](https://developer.android.com/reference/android/content/Context.html)` context, `[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs, int defStyle) ` |

|                                                                                                                                                                                                                                                                                                                                                                                                                                                                    ### Public methods                                                                                                                                                                                                                                                                                                                                                                                                                                                                     ||
|---------------------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` void`                                                                                                                                     | ` `[addFocusables](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addFocusables(java.util.ArrayList<android.view.View>, int, int))`(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> views, int direction, int focusableMode) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                                                                     | ` `[addItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration))`(`[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)` decor) ` Add an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)to this RecyclerView.                                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                                                     | ` `[addItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration, int))`(`[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)` decor, int index) ` Add an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)to this RecyclerView.                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                                                     | ` `[addOnChildAttachStateChangeListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener))`(`[RecyclerView.OnChildAttachStateChangeListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnChildAttachStateChangeListener)` listener) ` Register a listener that will be notified whenever a child view is attached to or detached from RecyclerView.                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                                                     | ` `[addOnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener))`(`[RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener)` listener) ` Add an[RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener)to intercept touch events before they are dispatched to child views or this view's standard scrolling behavior.                                                                                                                                                                                             |
| ` void`                                                                                                                                     | ` `[addOnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener))`(`[RecyclerView.OnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnScrollListener)` listener) ` Add a listener that will be notified of any changes in scroll state or position.                                                                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                                                     | ` `[clearOnChildAttachStateChangeListeners](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#clearOnChildAttachStateChangeListeners())`() ` Removes all listeners that were added via[addOnChildAttachStateChangeListener(OnChildAttachStateChangeListener)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener)).                                                                                                                                                                                                                                                                                                                     |
| ` void`                                                                                                                                     | ` `[clearOnScrollListeners](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#clearOnScrollListeners())`() ` Remove all secondary listener that were notified of any changes in scroll state or position.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` int`                                                                                                                                      | ` `[computeHorizontalScrollExtent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollExtent())`() ` <br /> Compute the horizontal extent of the horizontal scrollbar's thumb within the horizontal range.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` int`                                                                                                                                      | ` `[computeHorizontalScrollOffset](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollOffset())`() ` <br /> Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal range.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` int`                                                                                                                                      | ` `[computeHorizontalScrollRange](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollRange())`() ` <br /> Compute the horizontal range that the horizontal scrollbar represents.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` int`                                                                                                                                      | ` `[computeVerticalScrollExtent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollExtent())`() ` <br /> Compute the vertical extent of the vertical scrollbar's thumb within the vertical range.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` int`                                                                                                                                      | ` `[computeVerticalScrollOffset](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollOffset())`() ` <br /> Compute the vertical offset of the vertical scrollbar's thumb within the vertical range.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` int`                                                                                                                                      | ` `[computeVerticalScrollRange](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollRange())`() ` <br /> Compute the vertical range that the vertical scrollbar represents.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` boolean`                                                                                                                                  | ` `[dispatchNestedFling](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchNestedFling(float, float, boolean))`(float velocityX, float velocityY, boolean consumed) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                                                                                  | ` `[dispatchNestedPreFling](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchNestedPreFling(float, float))`(float velocityX, float velocityY) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` boolean`                                                                                                                                  | ` `[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchNestedPreScroll(int, int, int[], int[]))`(int dx, int dy, int[] consumed, int[] offsetInWindow) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` boolean`                                                                                                                                  | ` `[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchNestedPreScroll(int, int, int[], int[], int))`(int dx, int dy, int[] consumed, int[] offsetInWindow, int type) ` Dispatch one step of a nested scroll in progress before this view consumes any portion of it.                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` boolean`                                                                                                                                  | ` `[dispatchNestedScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchNestedScroll(int, int, int, int, int[], int))`(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int[] offsetInWindow, int type) ` Dispatch one step of a nested scroll in progress.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` boolean`                                                                                                                                  | ` `[dispatchNestedScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchNestedScroll(int, int, int, int, int[]))`(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int[] offsetInWindow) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                                                     | ` `[draw](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#draw(android.graphics.Canvas))`(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` c) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ` boolean`                                                                                                                                  | ` `[drawChild](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#drawChild(android.graphics.Canvas, android.view.View, long))`(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` canvas, `[View](https://developer.android.com/reference/android/view/View.html)` child, long drawingTime) `                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                                                                   | ` `[findChildViewUnder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findChildViewUnder(float, float))`(float x, float y) ` Find the topmost view under the given point.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                                                                   | ` `[findContainingItemView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findContainingItemView(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Traverses the ancestors of the given view and returns the item view that contains it and also a direct child of the RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` `[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)                     | ` `[findContainingViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findContainingViewHolder(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` view) ` Returns the ViewHolder that contains the given view.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` `[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)                     | ` `[findViewHolderForAdapterPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForAdapterPosition(int))`(int position) ` Return the ViewHolder for the item in the given position of the data set.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` `[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)                     | ` `[findViewHolderForItemId](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForItemId(long))`(long id) ` Return the ViewHolder for the item with the given id.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` `[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)                     | ` `[findViewHolderForLayoutPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForLayoutPosition(int))`(int position) ` Return the ViewHolder for the item in the given position of the data set as of the latest layout pass.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` `[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)                     | ` `[findViewHolderForPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForPosition(int))`(int position) ` *This method was deprecated in API level 22.1.0. use[findViewHolderForLayoutPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForLayoutPosition(int))or[findViewHolderForAdapterPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForAdapterPosition(int))*                                                                                                                                                                                                                                                               |
| ` boolean`                                                                                                                                  | ` `[fling](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#fling(int, int))`(int velocityX, int velocityY) ` Begin a standard fling with an initial velocity along each axis in pixels per second.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` `[View](https://developer.android.com/reference/android/view/View.html)                                                                   | ` `[focusSearch](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#focusSearch(android.view.View, int))`(`[View](https://developer.android.com/reference/android/view/View.html)` focused, int direction) ` 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 more involved focus search strategy that differs from other ViewGroups.                                                                                                                                                                                                                                                                                                                                         |
| ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                               | ` `[generateLayoutParams](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#generateLayoutParams(android.util.AttributeSet))`(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` attrs) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` `[Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter)                                        | ` `[getAdapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getAdapter())`() ` Retrieves the previously set adapter or null if no adapter is set.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` int`                                                                                                                                      | ` `[getBaseline](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getBaseline())`() ` <br /> Return the offset of the RecyclerView's text baseline from the its top boundary.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` int`                                                                                                                                      | ` `[getChildAdapterPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildAdapterPosition(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) ` Return the adapter position that the given child view corresponds to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` long`                                                                                                                                     | ` `[getChildItemId](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildItemId(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) ` Return the stable item id that the given child view corresponds to.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` int`                                                                                                                                      | ` `[getChildLayoutPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildLayoutPosition(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) ` Return the adapter position of the given child view as of the latest completed layout pass.                                                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` int`                                                                                                                                      | ` `[getChildPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildPosition(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) ` *This method was deprecated in API level 22.1.0. use[getChildAdapterPosition(View)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildAdapterPosition(android.view.View))or[getChildLayoutPosition(View)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildLayoutPosition(android.view.View)).*                                                                                                                                                                                                      |
| ` `[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)                     | ` `[getChildViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildViewHolder(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) ` Retrieve the[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)for the given child view.                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                                                                                  | ` `[getClipToPadding](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#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 present.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` `[RecyclerViewAccessibilityDelegate](https://developer.android.com/reference/android/support/v7/widget/RecyclerViewAccessibilityDelegate) | ` `[getCompatAccessibilityDelegate](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getCompatAccessibilityDelegate())`() ` Returns the accessibility delegate compatibility implementation used by the RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                                                     | ` `[getDecoratedBoundsWithMargins](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getDecoratedBoundsWithMargins(android.view.View, android.graphics.Rect))`(`[View](https://developer.android.com/reference/android/view/View.html)` view, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` outBounds) ` Returns the bounds of the view including its decoration and margins.                                                                                                                                                                                                                                                                                                                                                                    |
| ` `[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)       | ` `[getEdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getEdgeEffectFactory())`() ` Retrieves the previously set[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)or the default factory if nothing was set.                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ` `[RecyclerView.ItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator)                 | ` `[getItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getItemAnimator())`() ` Gets the current ItemAnimator for this RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` `[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)             | ` `[getItemDecorationAt](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getItemDecorationAt(int))`(int index) ` Returns an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)previously added to this RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` int`                                                                                                                                      | ` `[getItemDecorationCount](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getItemDecorationCount())`() ` Returns the number of[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)currently added to this RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` `[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)               | ` `[getLayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getLayoutManager())`() ` Return the[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)currently responsible for layout policy for this RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` int`                                                                                                                                      | ` `[getMaxFlingVelocity](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getMaxFlingVelocity())`() ` Returns the maximum fling velocity used by this RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` int`                                                                                                                                      | ` `[getMinFlingVelocity](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getMinFlingVelocity())`() ` Returns the minimum velocity to start a fling.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` `[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)           | ` `[getOnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getOnFlingListener())`() ` Get the current[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)from this[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView).                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` boolean`                                                                                                                                  | ` `[getPreserveFocusAfterLayout](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#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 during a layout calculation.                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` `[RecyclerView.RecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool)         | ` `[getRecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getRecycledViewPool())`() ` Retrieve this RecyclerView's[RecyclerView.RecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool).                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` int`                                                                                                                                      | ` `[getScrollState](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getScrollState())`() ` Return the current scrolling state of the RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` boolean`                                                                                                                                  | ` `[hasFixedSize](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#hasFixedSize())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` boolean`                                                                                                                                  | ` `[hasNestedScrollingParent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#hasNestedScrollingParent())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` boolean`                                                                                                                                  | ` `[hasNestedScrollingParent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#hasNestedScrollingParent(int))`(int type) ` Returns true if this view has a nested scrolling parent for the given input type.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                                                                                  | ` `[hasPendingAdapterUpdates](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#hasPendingAdapterUpdates())`() ` Returns whether there are pending adapter updates which are not yet applied to the layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| ` void`                                                                                                                                     | ` `[invalidateItemDecorations](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#invalidateItemDecorations())`() ` Invalidates all ItemDecorations.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` boolean`                                                                                                                                  | ` `[isAnimating](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#isAnimating())`() ` Returns true if RecyclerView is currently running some animations.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` boolean`                                                                                                                                  | ` `[isAttachedToWindow](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#isAttachedToWindow())`() ` Returns true if RecyclerView is attached to window.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` boolean`                                                                                                                                  | ` `[isComputingLayout](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#isComputingLayout())`() ` Returns whether RecyclerView is currently computing a layout.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` boolean`                                                                                                                                  | ` `[isLayoutFrozen](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#isLayoutFrozen())`() ` Returns true if layout and scroll are frozen.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` boolean`                                                                                                                                  | ` `[isNestedScrollingEnabled](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#isNestedScrollingEnabled())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                                                                     | ` `[offsetChildrenHorizontal](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#offsetChildrenHorizontal(int))`(int dx) ` Offset the bounds of all child views by`dx`pixels.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` void`                                                                                                                                     | ` `[offsetChildrenVertical](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#offsetChildrenVertical(int))`(int dy) ` Offset the bounds of all child views by`dy`pixels.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                                     | ` `[onChildAttachedToWindow](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onChildAttachedToWindow(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) ` Called when an item view is attached to this RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                                     | ` `[onChildDetachedFromWindow](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onChildDetachedFromWindow(android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child) ` Called when an item view is detached from this RecyclerView.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                                                     | ` `[onDraw](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onDraw(android.graphics.Canvas))`(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` c) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           |
| ` boolean`                                                                                                                                  | ` `[onGenericMotionEvent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onGenericMotionEvent(android.view.MotionEvent))`(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` event) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` boolean`                                                                                                                                  | ` `[onInterceptTouchEvent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onInterceptTouchEvent(android.view.MotionEvent))`(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` e) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                                                     | ` `[onScrollStateChanged](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onScrollStateChanged(int))`(int state) ` Called when the scroll state of this RecyclerView changes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                                                                     | ` `[onScrolled](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onScrolled(int, int))`(int dx, int dy) ` Called when the scroll position of this RecyclerView changes.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` boolean`                                                                                                                                  | ` `[onTouchEvent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onTouchEvent(android.view.MotionEvent))`(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` e) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                                     | ` `[removeItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration))`(`[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)` decor) ` Remove an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)from this RecyclerView.                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                                                     | ` `[removeItemDecorationAt](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeItemDecorationAt(int))`(int index) ` Removes the[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)associated with the supplied index position.                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` void`                                                                                                                                     | ` `[removeOnChildAttachStateChangeListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener))`(`[RecyclerView.OnChildAttachStateChangeListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnChildAttachStateChangeListener)` listener) ` Removes the provided listener from child attached state listeners list.                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                                                     | ` `[removeOnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeOnItemTouchListener(android.support.v7.widget.RecyclerView.OnItemTouchListener))`(`[RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener)` listener) ` Remove an[RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener).                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                                                     | ` `[removeOnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener))`(`[RecyclerView.OnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnScrollListener)` listener) ` Remove a listener that was notified of any changes in scroll state or position.                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                                                     | ` `[requestChildFocus](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#requestChildFocus(android.view.View, android.view.View))`(`[View](https://developer.android.com/reference/android/view/View.html)` child, `[View](https://developer.android.com/reference/android/view/View.html)` focused) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` boolean`                                                                                                                                  | ` `[requestChildRectangleOnScreen](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#requestChildRectangleOnScreen(android.view.View, android.graphics.Rect, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` child, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` rect, boolean immediate) `                                                                                                                                                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                                                                     | ` `[requestDisallowInterceptTouchEvent](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#requestDisallowInterceptTouchEvent(boolean))`(boolean disallowIntercept) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                                                     | ` `[requestLayout](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#requestLayout())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                                                     | ` `[scrollBy](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#scrollBy(int, int))`(int x, int y) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                                                     | ` `[scrollTo](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#scrollTo(int, int))`(int x, int y) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                                                     | ` `[scrollToPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#scrollToPosition(int))`(int position) ` Convenience method to scroll to a certain position.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                                                     | ` `[sendAccessibilityEventUnchecked](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#sendAccessibilityEventUnchecked(android.view.accessibility.AccessibilityEvent))`(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` event) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| ` void`                                                                                                                                     | ` `[setAccessibilityDelegateCompat](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setAccessibilityDelegateCompat(android.support.v7.widget.RecyclerViewAccessibilityDelegate))`(`[RecyclerViewAccessibilityDelegate](https://developer.android.com/reference/android/support/v7/widget/RecyclerViewAccessibilityDelegate)` accessibilityDelegate) ` Sets the accessibility delegate compatibility implementation used by RecyclerView.                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                                                     | ` `[setAdapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setAdapter(android.support.v7.widget.RecyclerView.Adapter))`(`[Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter)` adapter) ` Set a new adapter to provide child views on demand.                                                                                                                                                                                                                                                                                                                                                                                                                                                                               |
| ` void`                                                                                                                                     | ` `[setChildDrawingOrderCallback](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setChildDrawingOrderCallback(android.support.v7.widget.RecyclerView.ChildDrawingOrderCallback))`(`[RecyclerView.ChildDrawingOrderCallback](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ChildDrawingOrderCallback)` childDrawingOrderCallback) ` Sets the[RecyclerView.ChildDrawingOrderCallback](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ChildDrawingOrderCallback)to be used for drawing children.                                                                                                                                                                                                               |
| ` void`                                                                                                                                     | ` `[setClipToPadding](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setClipToPadding(boolean))`(boolean clipToPadding) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    |
| ` void`                                                                                                                                     | ` `[setEdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setEdgeEffectFactory(android.support.v7.widget.RecyclerView.EdgeEffectFactory))`(`[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)` edgeEffectFactory) ` Set a[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)for this[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView).                                                                                                                                                                                                           |
| ` void`                                                                                                                                     | ` `[setHasFixedSize](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setHasFixedSize(boolean))`(boolean hasFixedSize) ` RecyclerView can perform several optimizations if it can know in advance that RecyclerView's size is not affected by the adapter contents.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                                                     | ` `[setItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setItemAnimator(android.support.v7.widget.RecyclerView.ItemAnimator))`(`[RecyclerView.ItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator)` animator) ` Sets the[RecyclerView.ItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator)that will handle animations involving changes to the items in this RecyclerView.                                                                                                                                                                                                                                                                           |
| ` void`                                                                                                                                     | ` `[setItemViewCacheSize](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setItemViewCacheSize(int))`(int size) ` Set the number of offscreen views to retain before adding them to the potentially shared[recycled view pool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getRecycledViewPool()).                                                                                                                                                                                                                                                                                                                                                                                                                                         |
| ` void`                                                                                                                                     | ` `[setLayoutFrozen](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setLayoutFrozen(boolean))`(boolean frozen) ` Enable or disable layout and scroll.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                                     | ` `[setLayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setLayoutManager(android.support.v7.widget.RecyclerView.LayoutManager))`(`[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)` layout) ` Set the[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)that this RecyclerView will use.                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                                                     | ` `[setNestedScrollingEnabled](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setNestedScrollingEnabled(boolean))`(boolean enabled) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                                                     | ` `[setOnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setOnFlingListener(android.support.v7.widget.RecyclerView.OnFlingListener))`(`[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)` onFlingListener) ` Set a[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)for this[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView).                                                                                                                                                                                                                           |
| ` void`                                                                                                                                     | ` `[setOnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener))`(`[RecyclerView.OnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnScrollListener)` listener) ` *This method was deprecated in API level 22.1.0. Use[addOnScrollListener(OnScrollListener)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener))and[removeOnScrollListener(OnScrollListener)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener))* |
| ` void`                                                                                                                                     | ` `[setPreserveFocusAfterLayout](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setPreserveFocusAfterLayout(boolean))`(boolean preserveFocusAfterLayout) ` Set whether the RecyclerView should try to keep the same Item focused after a layout calculation or not.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                                                     | ` `[setRecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setRecycledViewPool(android.support.v7.widget.RecyclerView.RecycledViewPool))`(`[RecyclerView.RecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool)` pool) ` Recycled view pools allow multiple RecyclerViews to share a common pool of scrap views.                                                                                                                                                                                                                                                                                                                                                                                    |
| ` void`                                                                                                                                     | ` `[setRecyclerListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setRecyclerListener(android.support.v7.widget.RecyclerView.RecyclerListener))`(`[RecyclerView.RecyclerListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecyclerListener)` listener) ` Register a listener that will be notified whenever a child view is recycled.                                                                                                                                                                                                                                                                                                                                                                                           |
| ` void`                                                                                                                                     | ` `[setScrollingTouchSlop](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setScrollingTouchSlop(int))`(int slopConstant) ` Configure the scrolling touch slop for a specific use case.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                                                     | ` `[setViewCacheExtension](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setViewCacheExtension(android.support.v7.widget.RecyclerView.ViewCacheExtension))`(`[RecyclerView.ViewCacheExtension](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewCacheExtension)` extension) ` Sets a new[RecyclerView.ViewCacheExtension](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewCacheExtension)to be used by the Recycler.                                                                                                                                                                                                                                                                                   |
| ` void`                                                                                                                                     | ` `[smoothScrollBy](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#smoothScrollBy(int, int))`(int dx, int dy) ` Animate a scroll by the given amount of pixels along either axis.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            |
| ` void`                                                                                                                                     | ` `[smoothScrollBy](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#smoothScrollBy(int, int, android.view.animation.Interpolator))`(int dx, int dy, `[Interpolator](https://developer.android.com/reference/android/view/animation/Interpolator.html)` interpolator) ` Animate a scroll by the given amount of pixels along either axis.                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` void`                                                                                                                                     | ` `[smoothScrollToPosition](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#smoothScrollToPosition(int))`(int position) ` Starts a smooth scroll to an adapter position.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ` boolean`                                                                                                                                  | ` `[startNestedScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#startNestedScroll(int))`(int axes) `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| ` boolean`                                                                                                                                  | ` `[startNestedScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#startNestedScroll(int, int))`(int axes, int type) ` Begin a nestable scroll operation along the given axes, for the given input type.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| ` void`                                                                                                                                     | ` `[stopNestedScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#stopNestedScroll())`() `                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                                                                     | ` `[stopNestedScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#stopNestedScroll(int))`(int type) ` Stop a nested scroll in progress for the given input type.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| ` void`                                                                                                                                     | ` `[stopScroll](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#stopScroll())`() ` Stop any current scroll in progress, such as one started by[smoothScrollBy(int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#smoothScrollBy(int, int)),[fling(int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#fling(int, int))or a touch-initiated fling.                                                                                                                                                                                                                                                                                                                                                |
| ` void`                                                                                                                                     | ` `[swapAdapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#swapAdapter(android.support.v7.widget.RecyclerView.Adapter, boolean))`(`[Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter)` adapter, boolean removeAndRecycleExistingViews) ` Swaps the current adapter with the provided one.                                                                                                                                                                                                                                                                                                                                                                                                                                |

|                                                                                                                                                                                                                                                                          ### Protected methods                                                                                                                                                                                                                                                                           ||
|---------------------------------------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` boolean`                                                                                                    | ` `[checkLayoutParams](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#checkLayoutParams(android.view.ViewGroup.LayoutParams))`(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` p) `                                                                                                                                                                          |
| ` void`                                                                                                       | ` `[dispatchRestoreInstanceState](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchRestoreInstanceState(android.util.SparseArray<android.os.Parcelable>))`(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> container) ` Override to prevent thawing of any views created by the adapter. |
| ` void`                                                                                                       | ` `[dispatchSaveInstanceState](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#dispatchSaveInstanceState(android.util.SparseArray<android.os.Parcelable>))`(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> container) ` Override to prevent freezing of any views created by the adapter.      |
| ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` `[generateDefaultLayoutParams](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#generateDefaultLayoutParams())`() `                                                                                                                                                                                                                                                                                                       |
| ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | ` `[generateLayoutParams](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#generateLayoutParams(android.view.ViewGroup.LayoutParams))`(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` p) `                                                                                                                                                                    |
| ` int`                                                                                                        | ` `[getChildDrawingOrder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildDrawingOrder(int, int))`(int childCount, int i) `                                                                                                                                                                                                                                                                                        |
| ` void`                                                                                                       | ` `[onAttachedToWindow](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onAttachedToWindow())`() `                                                                                                                                                                                                                                                                                                                         |
| ` void`                                                                                                       | ` `[onDetachedFromWindow](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onDetachedFromWindow())`() `                                                                                                                                                                                                                                                                                                                     |
| ` void`                                                                                                       | ` `[onLayout](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onLayout(boolean, int, int, int, int))`(boolean changed, int l, int t, int r, int b) `                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                       | ` `[onMeasure](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onMeasure(int, int))`(int widthSpec, int heightSpec) `                                                                                                                                                                                                                                                                                                      |
| ` boolean`                                                                                                    | ` `[onRequestFocusInDescendants](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onRequestFocusInDescendants(int, android.graphics.Rect))`(int direction, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` previouslyFocusedRect) `                                                                                                                                                            |
| ` void`                                                                                                       | ` `[onRestoreInstanceState](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onRestoreInstanceState(android.os.Parcelable))`(`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` state) `                                                                                                                                                                                                    |
| ` `[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)                           | ` `[onSaveInstanceState](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onSaveInstanceState())`() `                                                                                                                                                                                                                                                                                                                       |
| ` void`                                                                                                       | ` `[onSizeChanged](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#onSizeChanged(int, int, int, int))`(int w, int h, int oldw, int oldh) `                                                                                                                                                                                                                                                                                 |
| ` void`                                                                                                       | ` `[removeDetachedView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeDetachedView(android.view.View, boolean))`(`[View](https://developer.android.com/reference/android/view/View.html)` child, boolean animate) `                                                                                                                                                                                                |

| ### Inherited methods |
|-----------------------|---|
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From class` `[android.view.ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` ` |-----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                                           | ` addChildrenForAccessibility(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                                      | | ` void`                                                                                                                           | ` addFocusables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1, int arg2) `                                                                                                                                                | | ` void`                                                                                                                           | ` addKeyboardNavigationClusters(Collection<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` addStatesFromChildren() `                                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` addTouchables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                                                    | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `                                                                  | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                                           | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2) `                                                        | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                     | | ` void`                                                                                                                           | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2) `                                                                                                                                                                 | | ` boolean`                                                                                                                        | ` addViewInLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2, boolean arg3) `                                  | | ` boolean`                                                                                                                        | ` addViewInLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2) `                                                | | ` void`                                                                                                                           | ` attachLayoutAnimationParameters(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1, int arg2, int arg3) `                      | | ` void`                                                                                                                           | ` attachViewToParent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg2) `                                             | | ` void`                                                                                                                           | ` bringChildToFront(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` canAnimate() `                                                                                                                                                                                                                                                               | | ` boolean`                                                                                                                        | ` checkLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `                                                                                                                                       | | ` void`                                                                                                                           | ` childDrawableStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                   | | ` void`                                                                                                                           | ` childHasTransientStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1) `                                                                                                                                                 | | ` void`                                                                                                                           | ` cleanupLayoutState(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` void`                                                                                                                           | ` clearChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                             | | ` void`                                                                                                                           | ` clearDisappearingChildren() `                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` clearFocus() `                                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` debug(int arg0) `                                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` detachAllViewsFromParent() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` detachViewFromParent(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` detachViewFromParent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                        | | ` void`                                                                                                                           | ` detachViewsFromParent(int arg0, int arg1) `                                                                                                                                                                                                                                  | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` dispatchApplyWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchCapturedPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` dispatchConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                       | | ` void`                                                                                                                           | ` dispatchDisplayHint(int arg0) `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchDragEvent(`[DragEvent](https://developer.android.com/reference/android/view/DragEvent.html)` arg0) `                                                                                                                                                                 | | ` void`                                                                                                                           | ` dispatchDraw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                                        | | ` void`                                                                                                                           | ` dispatchDrawableHotspotChanged(float arg0, float arg1) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` dispatchFreezeSelfOnly(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                                    | | ` boolean`                                                                                                                        | ` dispatchGenericFocusedEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchGenericPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                            | | ` boolean`                                                                                                                        | ` dispatchKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` dispatchKeyEventPreIme(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchKeyShortcutEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                            | | ` void`                                                                                                                           | ` dispatchPointerCaptureChanged(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` dispatchProvideAutofillStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                                | | ` void`                                                                                                                           | ` dispatchProvideStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` dispatchRestoreInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                              | | ` void`                                                                                                                           | ` dispatchSaveInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                                 | | ` void`                                                                                                                           | ` dispatchSetActivated(boolean arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchSetPressed(boolean arg0) `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` dispatchSetSelected(boolean arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` dispatchSystemUiVisibilityChanged(int arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` dispatchThawSelfOnly(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                                      | | ` boolean`                                                                                                                        | ` dispatchTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                            | | ` boolean`                                                                                                                        | ` dispatchTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                        | | ` boolean`                                                                                                                        | ` dispatchUnhandledMove(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                             | | ` void`                                                                                                                           | ` dispatchVisibilityChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` dispatchWindowSystemUiVisiblityChanged(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` dispatchWindowVisibilityChanged(int arg0) `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` drawChild(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, long arg2) `                                                                                 | | ` void`                                                                                                                           | ` drawableStateChanged() `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` endViewTransition(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                           | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` findFocus() `                                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` findViewsWithText(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, CharSequence arg1, int arg2) `                                                                                                                                   | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` focusSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                                       | | ` void`                                                                                                                           | ` focusableViewAvailable(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` gatherTransparentRegion(`[Region](https://developer.android.com/reference/android/graphics/Region.html)` arg0) `                                                                                                                                                             | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` generateDefaultLayoutParams() `                                                                                                                                                                                                                                              | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` generateLayoutParams(`[AttributeSet](https://developer.android.com/reference/android/util/AttributeSet.html)` arg0) `                                                                                                                                                        | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` generateLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `                                                                                                                                    | | ` CharSequence`                                                                                                                   | ` getAccessibilityClassName() `                                                                                                                                                                                                                                                | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` getChildAt(int arg0) `                                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getChildCount() `                                                                                                                                                                                                                                                            | | ` int`                                                                                                                            | ` getChildDrawingOrder(int arg0, int arg1) `                                                                                                                                                                                                                                   | | ` static int`                                                                                                                     | ` getChildMeasureSpec(int arg0, int arg1, int arg2) `                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` getChildStaticTransformation(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Transformation](https://developer.android.com/reference/android/view/animation/Transformation.html)` arg1) `                                                   | | ` boolean`                                                                                                                        | ` getChildVisibleRect(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, `[Point](https://developer.android.com/reference/android/graphics/Point.html)` arg2) ` | | ` boolean`                                                                                                                        | ` getClipChildren() `                                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` getClipToPadding() `                                                                                                                                                                                                                                                         | | ` int`                                                                                                                            | ` getDescendantFocusability() `                                                                                                                                                                                                                                                | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` getFocusedChild() `                                                                                                                                                                                                                                                          | | ` `[LayoutAnimationController](https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html)     | ` getLayoutAnimation() `                                                                                                                                                                                                                                                       | | ` `[Animation.AnimationListener](https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html) | ` getLayoutAnimationListener() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getLayoutMode() `                                                                                                                                                                                                                                                            | | ` `[LayoutTransition](https://developer.android.com/reference/android/animation/LayoutTransition.html)                            | ` getLayoutTransition() `                                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getNestedScrollAxes() `                                                                                                                                                                                                                                                      | | ` `[ViewOverlay](https://developer.android.com/reference/android/view/ViewOverlay.html)                                           | ` getOverlay() `                                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getPersistentDrawingCache() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` getTouchscreenBlocksFocus() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` hasFocus() `                                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                                        | ` hasTransientState() `                                                                                                                                                                                                                                                        | | ` int`                                                                                                                            | ` indexOfChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                | | ` final void`                                                                                                                     | ` invalidateChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                          | | ` `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)                                             | ` invalidateChildInParent(int[] arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isAlwaysDrawnWithCacheEnabled() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` isAnimationCacheEnabled() `                                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isChildrenDrawingOrderEnabled() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` isChildrenDrawnWithCacheEnabled() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isMotionEventSplittingEnabled() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` isTransitionGroup() `                                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` jumpDrawablesToCurrentState() `                                                                                                                                                                                                                                              | | ` final void`                                                                                                                     | ` layout(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` measureChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2) `                                                                                                                                                            | | ` void`                                                                                                                           | ` measureChildWithMargins(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                             | | ` void`                                                                                                                           | ` measureChildren(int arg0, int arg1) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` notifySubtreeAccessibilityStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                             | | ` final void`                                                                                                                     | ` offsetDescendantRectToMyCoords(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                           | | ` final void`                                                                                                                     | ` offsetRectIntoDescendantCoords(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                           | | ` void`                                                                                                                           | ` onAttachedToWindow() `                                                                                                                                                                                                                                                       | | ` int[]`                                                                                                                          | ` onCreateDrawableState(int arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onDescendantInvalidated(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                      | | ` void`                                                                                                                           | ` onDetachedFromWindow() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onInterceptHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                         | | ` boolean`                                                                                                                        | ` onInterceptTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                         | | ` abstract void`                                                                                                                  | ` onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` onNestedFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2, boolean arg3) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` onNestedPreFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                                    | | ` boolean`                                                                                                                        | ` onNestedPrePerformAccessibilityAction(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                            | | ` void`                                                                                                                           | ` onNestedPreScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int[] arg3) `                                                                                                                                           | | ` void`                                                                                                                           | ` onNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                      | | ` void`                                                                                                                           | ` onNestedScrollAccepted(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                             | | ` boolean`                                                                                                                        | ` onRequestFocusInDescendants(int arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` onRequestSendAccessibilityEvent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg1) `                                    | | ` `[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)                                           | ` onResolvePointerIcon(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0, int arg1) `                                                                                                                                                | | ` boolean`                                                                                                                        | ` onStartNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                                | | ` void`                                                                                                                           | ` onStopNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` void`                                                                                                                           | ` onViewAdded(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                 | | ` void`                                                                                                                           | ` onViewRemoved(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                               | | ` void`                                                                                                                           | ` recomputeViewAttributes(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` void`                                                                                                                           | ` removeAllViews() `                                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` removeAllViewsInLayout() `                                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` removeDetachedView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1) `                                                                                                                                                            | | ` void`                                                                                                                           | ` removeView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                                  | | ` void`                                                                                                                           | ` removeViewAt(int arg0) `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` removeViewInLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` void`                                                                                                                           | ` removeViews(int arg0, int arg1) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` removeViewsInLayout(int arg0, int arg1) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` requestChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                            | | ` boolean`                                                                                                                        | ` requestChildRectangleOnScreen(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, boolean arg2) `                                                              | | ` void`                                                                                                                           | ` requestDisallowInterceptTouchEvent(boolean arg0) `                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` requestFocus(int arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` requestSendAccessibilityEvent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg1) `                                      | | ` void`                                                                                                                           | ` requestTransparentRegion(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` restoreDefaultFocus() `                                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` scheduleLayoutAnimation() `                                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setAddStatesFromChildren(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setAlwaysDrawnWithCacheEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setAnimationCacheEnabled(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setChildrenDrawingCacheEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setChildrenDrawingOrderEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setChildrenDrawnWithCacheEnabled(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setClipChildren(boolean arg0) `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setClipToPadding(boolean arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setDescendantFocusability(int arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setLayoutAnimation(`[LayoutAnimationController](https://developer.android.com/reference/android/view/animation/LayoutAnimationController.html)` arg0) `                                                                                                                      | | ` void`                                                                                                                           | ` setLayoutAnimationListener(`[Animation.AnimationListener](https://developer.android.com/reference/android/view/animation/Animation.AnimationListener.html)` arg0) `                                                                                                          | | ` void`                                                                                                                           | ` setLayoutMode(int arg0) `                                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setLayoutTransition(`[LayoutTransition](https://developer.android.com/reference/android/animation/LayoutTransition.html)` arg0) `                                                                                                                                            | | ` void`                                                                                                                           | ` setMotionEventSplittingEnabled(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setOnHierarchyChangeListener(`[ViewGroup.OnHierarchyChangeListener](https://developer.android.com/reference/android/view/ViewGroup.OnHierarchyChangeListener.html)` arg0) `                                                                                                  | | ` void`                                                                                                                           | ` setPersistentDrawingCache(int arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setStaticTransformationsEnabled(boolean arg0) `                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setTouchscreenBlocksFocus(boolean arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setTransitionGroup(boolean arg0) `                                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` shouldDelayChildPressedState() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                             | | ` boolean`                                                                                                                        | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1, int arg2) `                                              | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1) `                                                        | | ` void`                                                                                                                           | ` startLayoutAnimation() `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` startViewTransition(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                         | | ` void`                                                                                                                           | ` updateViewLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `                                                         | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From class` `[android.view.View](https://developer.android.com/reference/android/view/View.html)` ` |-----------------------------------------------------------------------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` void`                                                                                                                           | ` addChildrenForAccessibility(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                            | | ` void`                                                                                                                           | ` addExtraDataToAccessibilityNodeInfo(`[AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html)` arg0, String arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) ` | | ` void`                                                                                                                           | ` addFocusables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1) `                                                                                                                                                | | ` void`                                                                                                                           | ` addFocusables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1, int arg2) `                                                                                                                                      | | ` void`                                                                                                                           | ` addKeyFallbackListener(`[View.OnKeyFallbackListener](https://developer.android.com/reference/android/view/View.OnKeyFallbackListener.html)` arg0) `                                                                                                                | | ` void`                                                                                                                           | ` addKeyboardNavigationClusters(Collection<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, int arg1) `                                                                                                                               | | ` void`                                                                                                                           | ` addOnAttachStateChangeListener(`[View.OnAttachStateChangeListener](https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html)` arg0) `                                                                                            | | ` void`                                                                                                                           | ` addOnLayoutChangeListener(`[View.OnLayoutChangeListener](https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html)` arg0) `                                                                                                           | | ` void`                                                                                                                           | ` addTouchables(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0) `                                                                                                                                                          | | ` `[ViewPropertyAnimator](https://developer.android.com/reference/android/view/ViewPropertyAnimator.html)                         | ` animate() `                                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` announceForAccessibility(CharSequence arg0) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` autofill(`[AutofillValue](https://developer.android.com/reference/android/view/autofill/AutofillValue.html)` arg0) `                                                                                                                                               | | ` void`                                                                                                                           | ` autofill(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[AutofillValue](https://developer.android.com/reference/android/view/autofill/AutofillValue.html)`> arg0) `                                                       | | ` boolean`                                                                                                                        | ` awakenScrollBars(int arg0, boolean arg1) `                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` awakenScrollBars(int arg0) `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` awakenScrollBars() `                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` bringToFront() `                                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` buildDrawingCache(boolean arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` buildDrawingCache() `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` buildLayer() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` callOnClick() `                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` canResolveLayoutDirection() `                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` canResolveTextAlignment() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` canResolveTextDirection() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` canScrollHorizontally(int arg0) `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` canScrollVertically(int arg0) `                                                                                                                                                                                                                                    | | ` final void`                                                                                                                     | ` cancelDragAndDrop() `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` cancelLongPress() `                                                                                                                                                                                                                                                | | ` final void`                                                                                                                     | ` cancelPendingInputEvents() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` checkInputConnectionProxy(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                         | | ` void`                                                                                                                           | ` clearAnimation() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` clearFocus() `                                                                                                                                                                                                                                                     | | ` static int`                                                                                                                     | ` combineMeasuredStates(int arg0, int arg1) `                                                                                                                                                                                                                        | | ` int`                                                                                                                            | ` computeHorizontalScrollExtent() `                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` computeHorizontalScrollOffset() `                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` computeHorizontalScrollRange() `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` computeScroll() `                                                                                                                                                                                                                                                  | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` computeSystemWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                      | | ` int`                                                                                                                            | ` computeVerticalScrollExtent() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` computeVerticalScrollOffset() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` computeVerticalScrollRange() `                                                                                                                                                                                                                                     | | ` `[AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html)         | ` createAccessibilityNodeInfo() `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` createContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0) `                                                                                                                                                   | | ` void`                                                                                                                           | ` destroyDrawingCache() `                                                                                                                                                                                                                                            | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` dispatchApplyWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` dispatchCapturedPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                        | | ` void`                                                                                                                           | ` dispatchConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                             | | ` void`                                                                                                                           | ` dispatchDisplayHint(int arg0) `                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` dispatchDragEvent(`[DragEvent](https://developer.android.com/reference/android/view/DragEvent.html)` arg0) `                                                                                                                                                       | | ` void`                                                                                                                           | ` dispatchDraw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                              | | ` void`                                                                                                                           | ` dispatchDrawableHotspotChanged(float arg0, float arg1) `                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` dispatchFinishTemporaryDetach() `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchGenericFocusedEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` dispatchGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                          | | ` boolean`                                                                                                                        | ` dispatchGenericPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` dispatchHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchKeyEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                          | | ` boolean`                                                                                                                        | ` dispatchKeyEventPreIme(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                    | | ` boolean`                                                                                                                        | ` dispatchKeyShortcutEvent(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchNestedFling(float arg0, float arg1, boolean arg2) `                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` dispatchNestedPreFling(float arg0, float arg1) `                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` dispatchNestedPrePerformAccessibilityAction(int arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                           | | ` boolean`                                                                                                                        | ` dispatchNestedPreScroll(int arg0, int arg1, int[] arg2, int[] arg3) `                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchNestedScroll(int arg0, int arg1, int arg2, int arg3, int[] arg4) `                                                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchPointerCaptureChanged(boolean arg0) `                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` dispatchPopulateAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                      | | ` void`                                                                                                                           | ` dispatchProvideAutofillStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                      | | ` void`                                                                                                                           | ` dispatchProvideStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                        | | ` void`                                                                                                                           | ` dispatchRestoreInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                    | | ` void`                                                                                                                           | ` dispatchSaveInstanceState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                       | | ` void`                                                                                                                           | ` dispatchSetActivated(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` dispatchSetPressed(boolean arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` dispatchSetSelected(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` dispatchStartTemporaryDetach() `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` dispatchSystemUiVisibilityChanged(int arg0) `                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` dispatchTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` dispatchTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                              | | ` boolean`                                                                                                                        | ` dispatchUnhandledMove(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                   | | ` void`                                                                                                                           | ` dispatchVisibilityChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                               | | ` void`                                                                                                                           | ` dispatchWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` dispatchWindowSystemUiVisiblityChanged(int arg0) `                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` dispatchWindowVisibilityChanged(int arg0) `                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` draw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                                      | | ` void`                                                                                                                           | ` drawableHotspotChanged(float arg0, float arg1) `                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` drawableStateChanged() `                                                                                                                                                                                                                                           | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` findFocus() `                                                                                                                                                                                                                                                      | | ` final <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                                   | ` findViewById(int arg0) `                                                                                                                                                                                                                                           | | ` final <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                                   | ` findViewWithTag(Object arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` findViewsWithText(ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`> arg0, CharSequence arg1, int arg2) `                                                                                                                         | | ` boolean`                                                                                                                        | ` fitSystemWindows(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                              | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` focusSearch(int arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` forceHasOverlappingRendering(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` forceLayout() `                                                                                                                                                                                                                                                    | | ` static int`                                                                                                                     | ` generateViewId() `                                                                                                                                                                                                                                                 | | ` CharSequence`                                                                                                                   | ` getAccessibilityClassName() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getAccessibilityLiveRegion() `                                                                                                                                                                                                                                     | | ` `[AccessibilityNodeProvider](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeProvider.html) | ` getAccessibilityNodeProvider() `                                                                                                                                                                                                                                   | | ` CharSequence`                                                                                                                   | ` getAccessibilityPaneTitle() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getAccessibilityTraversalAfter() `                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getAccessibilityTraversalBefore() `                                                                                                                                                                                                                                | | ` float`                                                                                                                          | ` getAlpha() `                                                                                                                                                                                                                                                       | | ` `[Animation](https://developer.android.com/reference/android/view/animation/Animation.html)                                     | ` getAnimation() `                                                                                                                                                                                                                                                   | | ` `[IBinder](https://developer.android.com/reference/android/os/IBinder.html)                                                     | ` getApplicationWindowToken() `                                                                                                                                                                                                                                      | | ` String[]`                                                                                                                       | ` getAutofillHints() `                                                                                                                                                                                                                                               | | ` final `[AutofillId](https://developer.android.com/reference/android/view/autofill/AutofillId.html)                              | ` getAutofillId() `                                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getAutofillType() `                                                                                                                                                                                                                                                | | ` `[AutofillValue](https://developer.android.com/reference/android/view/autofill/AutofillValue.html)                              | ` getAutofillValue() `                                                                                                                                                                                                                                               | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)                                    | ` getBackground() `                                                                                                                                                                                                                                                  | | ` `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)                              | ` getBackgroundTintList() `                                                                                                                                                                                                                                          | | ` `[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)                               | ` getBackgroundTintMode() `                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getBaseline() `                                                                                                                                                                                                                                                    | | ` final int`                                                                                                                      | ` getBottom() `                                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getBottomFadingEdgeStrength() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getBottomPaddingOffset() `                                                                                                                                                                                                                                         | | ` float`                                                                                                                          | ` getCameraDistance() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` getClipBounds(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                 | | ` `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)                                                     | ` getClipBounds() `                                                                                                                                                                                                                                                  | | ` final boolean`                                                                                                                  | ` getClipToOutline() `                                                                                                                                                                                                                                               | | ` CharSequence`                                                                                                                   | ` getContentDescription() `                                                                                                                                                                                                                                          | | ` final `[Context](https://developer.android.com/reference/android/content/Context.html)                                          | ` getContext() `                                                                                                                                                                                                                                                     | | ` `[ContextMenu.ContextMenuInfo](https://developer.android.com/reference/android/view/ContextMenu.ContextMenuInfo.html)           | ` getContextMenuInfo() `                                                                                                                                                                                                                                             | | ` final boolean`                                                                                                                  | ` getDefaultFocusHighlightEnabled() `                                                                                                                                                                                                                                | | ` static int`                                                                                                                     | ` getDefaultSize(int arg0, int arg1) `                                                                                                                                                                                                                               | | ` `[Display](https://developer.android.com/reference/android/view/Display.html)                                                   | ` getDisplay() `                                                                                                                                                                                                                                                     | | ` final int[]`                                                                                                                    | ` getDrawableState() `                                                                                                                                                                                                                                               | | ` `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)                                                 | ` getDrawingCache() `                                                                                                                                                                                                                                                | | ` `[Bitmap](https://developer.android.com/reference/android/graphics/Bitmap.html)                                                 | ` getDrawingCache(boolean arg0) `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getDrawingCacheBackgroundColor() `                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getDrawingCacheQuality() `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` getDrawingRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                | | ` long`                                                                                                                           | ` getDrawingTime() `                                                                                                                                                                                                                                                 | | ` float`                                                                                                                          | ` getElevation() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` getFilterTouchesWhenObscured() `                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` getFitsSystemWindows() `                                                                                                                                                                                                                                           | | ` int`                                                                                                                            | ` getFocusable() `                                                                                                                                                                                                                                                   | | ` ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`>`                                            | ` getFocusables(int arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` getFocusedRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                | | ` `[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)                                    | ` getForeground() `                                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getForegroundGravity() `                                                                                                                                                                                                                                           | | ` `[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)                              | ` getForegroundTintList() `                                                                                                                                                                                                                                          | | ` `[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)                               | ` getForegroundTintMode() `                                                                                                                                                                                                                                          | | ` final boolean`                                                                                                                  | ` getGlobalVisibleRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                          | | ` boolean`                                                                                                                        | ` getGlobalVisibleRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0, `[Point](https://developer.android.com/reference/android/graphics/Point.html)` arg1) `                                                                     | | ` `[Handler](https://developer.android.com/reference/android/os/Handler.html)                                                     | ` getHandler() `                                                                                                                                                                                                                                                     | | ` final boolean`                                                                                                                  | ` getHasOverlappingRendering() `                                                                                                                                                                                                                                     | | ` final int`                                                                                                                      | ` getHeight() `                                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` getHitRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                    | | ` int`                                                                                                                            | ` getHorizontalFadingEdgeLength() `                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getHorizontalScrollbarHeight() `                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getId() `                                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getImportantForAccessibility() `                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getImportantForAutofill() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` getKeepScreenOn() `                                                                                                                                                                                                                                                | | ` `[KeyEvent.DispatcherState](https://developer.android.com/reference/android/view/KeyEvent.DispatcherState.html)                 | ` getKeyDispatcherState() `                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getLabelFor() `                                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getLayerType() `                                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getLayoutDirection() `                                                                                                                                                                                                                                             | | ` `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)                     | ` getLayoutParams() `                                                                                                                                                                                                                                                | | ` final int`                                                                                                                      | ` getLeft() `                                                                                                                                                                                                                                                        | | ` float`                                                                                                                          | ` getLeftFadingEdgeStrength() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getLeftPaddingOffset() `                                                                                                                                                                                                                                           | | ` final boolean`                                                                                                                  | ` getLocalVisibleRect(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                           | | ` void`                                                                                                                           | ` getLocationInWindow(int[] arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` getLocationOnScreen(int[] arg0) `                                                                                                                                                                                                                                  | | ` `[Matrix](https://developer.android.com/reference/android/graphics/Matrix.html)                                                 | ` getMatrix() `                                                                                                                                                                                                                                                      | | ` final int`                                                                                                                      | ` getMeasuredHeight() `                                                                                                                                                                                                                                              | | ` final int`                                                                                                                      | ` getMeasuredHeightAndState() `                                                                                                                                                                                                                                      | | ` final int`                                                                                                                      | ` getMeasuredState() `                                                                                                                                                                                                                                               | | ` final int`                                                                                                                      | ` getMeasuredWidth() `                                                                                                                                                                                                                                               | | ` final int`                                                                                                                      | ` getMeasuredWidthAndState() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getMinimumHeight() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getMinimumWidth() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getNextClusterForwardId() `                                                                                                                                                                                                                                        | | ` int`                                                                                                                            | ` getNextFocusDownId() `                                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getNextFocusForwardId() `                                                                                                                                                                                                                                          | | ` int`                                                                                                                            | ` getNextFocusLeftId() `                                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getNextFocusRightId() `                                                                                                                                                                                                                                            | | ` int`                                                                                                                            | ` getNextFocusUpId() `                                                                                                                                                                                                                                               | | ` `[View.OnFocusChangeListener](https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html)             | ` getOnFocusChangeListener() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getOutlineAmbientShadowColor() `                                                                                                                                                                                                                                   | | ` `[ViewOutlineProvider](https://developer.android.com/reference/android/view/ViewOutlineProvider.html)                           | ` getOutlineProvider() `                                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getOutlineSpotShadowColor() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getOverScrollMode() `                                                                                                                                                                                                                                              | | ` `[ViewOverlay](https://developer.android.com/reference/android/view/ViewOverlay.html)                                           | ` getOverlay() `                                                                                                                                                                                                                                                     | | ` int`                                                                                                                            | ` getPaddingBottom() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getPaddingEnd() `                                                                                                                                                                                                                                                  | | ` int`                                                                                                                            | ` getPaddingLeft() `                                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getPaddingRight() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getPaddingStart() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getPaddingTop() `                                                                                                                                                                                                                                                  | | ` final `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)                                       | ` getParent() `                                                                                                                                                                                                                                                      | | ` `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)                                             | ` getParentForAccessibility() `                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getPivotX() `                                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getPivotY() `                                                                                                                                                                                                                                                      | | ` `[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)                                           | ` getPointerIcon() `                                                                                                                                                                                                                                                 | | ` `[Resources](https://developer.android.com/reference/android/content/res/Resources.html)                                        | ` getResources() `                                                                                                                                                                                                                                                   | | ` final boolean`                                                                                                                  | ` getRevealOnFocusHint() `                                                                                                                                                                                                                                           | | ` final int`                                                                                                                      | ` getRight() `                                                                                                                                                                                                                                                       | | ` float`                                                                                                                          | ` getRightFadingEdgeStrength() `                                                                                                                                                                                                                                     | | ` int`                                                                                                                            | ` getRightPaddingOffset() `                                                                                                                                                                                                                                          | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` getRootView() `                                                                                                                                                                                                                                                    | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` getRootWindowInsets() `                                                                                                                                                                                                                                            | | ` float`                                                                                                                          | ` getRotation() `                                                                                                                                                                                                                                                    | | ` float`                                                                                                                          | ` getRotationX() `                                                                                                                                                                                                                                                   | | ` float`                                                                                                                          | ` getRotationY() `                                                                                                                                                                                                                                                   | | ` float`                                                                                                                          | ` getScaleX() `                                                                                                                                                                                                                                                      | | ` float`                                                                                                                          | ` getScaleY() `                                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getScrollBarDefaultDelayBeforeFade() `                                                                                                                                                                                                                             | | ` int`                                                                                                                            | ` getScrollBarFadeDuration() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getScrollBarSize() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getScrollBarStyle() `                                                                                                                                                                                                                                              | | ` int`                                                                                                                            | ` getScrollIndicators() `                                                                                                                                                                                                                                            | | ` final int`                                                                                                                      | ` getScrollX() `                                                                                                                                                                                                                                                     | | ` final int`                                                                                                                      | ` getScrollY() `                                                                                                                                                                                                                                                     | | ` int`                                                                                                                            | ` getSolidColor() `                                                                                                                                                                                                                                                  | | ` `[StateListAnimator](https://developer.android.com/reference/android/animation/StateListAnimator.html)                          | ` getStateListAnimator() `                                                                                                                                                                                                                                           | | ` int`                                                                                                                            | ` getSuggestedMinimumHeight() `                                                                                                                                                                                                                                      | | ` int`                                                                                                                            | ` getSuggestedMinimumWidth() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getSystemUiVisibility() `                                                                                                                                                                                                                                          | | ` Object`                                                                                                                         | ` getTag() `                                                                                                                                                                                                                                                         | | ` Object`                                                                                                                         | ` getTag(int arg0) `                                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getTextAlignment() `                                                                                                                                                                                                                                               | | ` int`                                                                                                                            | ` getTextDirection() `                                                                                                                                                                                                                                               | | ` CharSequence`                                                                                                                   | ` getTooltipText() `                                                                                                                                                                                                                                                 | | ` final int`                                                                                                                      | ` getTop() `                                                                                                                                                                                                                                                         | | ` float`                                                                                                                          | ` getTopFadingEdgeStrength() `                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getTopPaddingOffset() `                                                                                                                                                                                                                                            | | ` `[TouchDelegate](https://developer.android.com/reference/android/view/TouchDelegate.html)                                       | ` getTouchDelegate() `                                                                                                                                                                                                                                               | | ` ArrayList<`[View](https://developer.android.com/reference/android/view/View.html)`>`                                            | ` getTouchables() `                                                                                                                                                                                                                                                  | | ` String`                                                                                                                         | ` getTransitionName() `                                                                                                                                                                                                                                              | | ` float`                                                                                                                          | ` getTranslationX() `                                                                                                                                                                                                                                                | | ` float`                                                                                                                          | ` getTranslationY() `                                                                                                                                                                                                                                                | | ` float`                                                                                                                          | ` getTranslationZ() `                                                                                                                                                                                                                                                | | ` int`                                                                                                                            | ` getVerticalFadingEdgeLength() `                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getVerticalScrollbarPosition() `                                                                                                                                                                                                                                   | | ` int`                                                                                                                            | ` getVerticalScrollbarWidth() `                                                                                                                                                                                                                                      | | ` `[ViewTreeObserver](https://developer.android.com/reference/android/view/ViewTreeObserver.html)                                 | ` getViewTreeObserver() `                                                                                                                                                                                                                                            | | ` int`                                                                                                                            | ` getVisibility() `                                                                                                                                                                                                                                                  | | ` final int`                                                                                                                      | ` getWidth() `                                                                                                                                                                                                                                                       | | ` int`                                                                                                                            | ` getWindowAttachCount() `                                                                                                                                                                                                                                           | | ` `[WindowId](https://developer.android.com/reference/android/view/WindowId.html)                                                 | ` getWindowId() `                                                                                                                                                                                                                                                    | | ` int`                                                                                                                            | ` getWindowSystemUiVisibility() `                                                                                                                                                                                                                                    | | ` `[IBinder](https://developer.android.com/reference/android/os/IBinder.html)                                                     | ` getWindowToken() `                                                                                                                                                                                                                                                 | | ` int`                                                                                                                            | ` getWindowVisibility() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` getWindowVisibleDisplayFrame(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                  | | ` float`                                                                                                                          | ` getX() `                                                                                                                                                                                                                                                           | | ` float`                                                                                                                          | ` getY() `                                                                                                                                                                                                                                                           | | ` float`                                                                                                                          | ` getZ() `                                                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` hasExplicitFocusable() `                                                                                                                                                                                                                                           | | ` boolean`                                                                                                                        | ` hasFocus() `                                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` hasFocusable() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` hasNestedScrollingParent() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` hasOnClickListeners() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` hasOverlappingRendering() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` hasPointerCapture() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` hasTransientState() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` hasWindowFocus() `                                                                                                                                                                                                                                                 | | ` static `[View](https://developer.android.com/reference/android/view/View.html)                                                  | ` inflate(`[Context](https://developer.android.com/reference/android/content/Context.html)` arg0, int arg1, `[ViewGroup](https://developer.android.com/reference/android/view/ViewGroup.html)` arg2) `                                                               | | ` void`                                                                                                                           | ` invalidate() `                                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` invalidate(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                    | | ` void`                                                                                                                           | ` invalidate(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` invalidateDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                           | | ` void`                                                                                                                           | ` invalidateOutline() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isAccessibilityFocused() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` isActivated() `                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isAttachedToWindow() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` isClickable() `                                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isContextClickable() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` isDirty() `                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isDrawingCacheEnabled() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isDuplicateParentStateEnabled() `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isEnabled() `                                                                                                                                                                                                                                                      | | ` final boolean`                                                                                                                  | ` isFocusable() `                                                                                                                                                                                                                                                    | | ` final boolean`                                                                                                                  | ` isFocusableInTouchMode() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` isFocused() `                                                                                                                                                                                                                                                      | | ` final boolean`                                                                                                                  | ` isFocusedByDefault() `                                                                                                                                                                                                                                             | | ` boolean`                                                                                                                        | ` isHapticFeedbackEnabled() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isHardwareAccelerated() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isHorizontalFadingEdgeEnabled() `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isHorizontalScrollBarEnabled() `                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` isHovered() `                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isImportantForAccessibility() `                                                                                                                                                                                                                                    | | ` final boolean`                                                                                                                  | ` isImportantForAutofill() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` isInEditMode() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` isInLayout() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isInTouchMode() `                                                                                                                                                                                                                                                  | | ` final boolean`                                                                                                                  | ` isKeyboardNavigationCluster() `                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isLaidOut() `                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isLayoutDirectionResolved() `                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isLayoutRequested() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isLongClickable() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` isNestedScrollingEnabled() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` isOpaque() `                                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` isPaddingOffsetRequired() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isPaddingRelative() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isPressed() `                                                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` isSaveEnabled() `                                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` isSaveFromParentEnabled() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isScreenReaderFocusable() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isScrollContainer() `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` isScrollbarFadingEnabled() `                                                                                                                                                                                                                                       | | ` boolean`                                                                                                                        | ` isSelected() `                                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isShown() `                                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isSoundEffectsEnabled() `                                                                                                                                                                                                                                          | | ` final boolean`                                                                                                                  | ` isTemporarilyDetached() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` isTextAlignmentResolved() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isTextDirectionResolved() `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` isVerticalFadingEdgeEnabled() `                                                                                                                                                                                                                                    | | ` boolean`                                                                                                                        | ` isVerticalScrollBarEnabled() `                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` isVisibleToUserForAutofill(int arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` jumpDrawablesToCurrentState() `                                                                                                                                                                                                                                    | | ` `[View](https://developer.android.com/reference/android/view/View.html)                                                         | ` keyboardNavigationClusterSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                         | | ` void`                                                                                                                           | ` layout(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                                   | | ` final void`                                                                                                                     | ` measure(int arg0, int arg1) `                                                                                                                                                                                                                                      | | ` static int[]`                                                                                                                   | ` mergeDrawableStates(int[] arg0, int[] arg1) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` offsetLeftAndRight(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` offsetTopAndBottom(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` onAnimationEnd() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` onAnimationStart() `                                                                                                                                                                                                                                               | | ` `[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)                                         | ` onApplyWindowInsets(`[WindowInsets](https://developer.android.com/reference/android/view/WindowInsets.html)` arg0) `                                                                                                                                               | | ` void`                                                                                                                           | ` onAttachedToWindow() `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onCancelPendingInputEvents() `                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onCapturedPointerEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                              | | ` boolean`                                                                                                                        | ` onCheckIsTextEditor() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onConfigurationChanged(`[Configuration](https://developer.android.com/reference/android/content/res/Configuration.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` onCreateContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0) `                                                                                                                                                 | | ` int[]`                                                                                                                          | ` onCreateDrawableState(int arg0) `                                                                                                                                                                                                                                  | | ` `[InputConnection](https://developer.android.com/reference/android/view/inputmethod/InputConnection.html)                       | ` onCreateInputConnection(`[EditorInfo](https://developer.android.com/reference/android/view/inputmethod/EditorInfo.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` onDetachedFromWindow() `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` onDisplayHint(int arg0) `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` onDragEvent(`[DragEvent](https://developer.android.com/reference/android/view/DragEvent.html)` arg0) `                                                                                                                                                             | | ` void`                                                                                                                           | ` onDraw(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                                    | | ` void`                                                                                                                           | ` onDrawForeground(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                          | | ` final void`                                                                                                                     | ` onDrawScrollBars(`[Canvas](https://developer.android.com/reference/android/graphics/Canvas.html)` arg0) `                                                                                                                                                          | | ` boolean`                                                                                                                        | ` onFilterTouchEventForSecurity(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                       | | ` void`                                                                                                                           | ` onFinishInflate() `                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` onFinishTemporaryDetach() `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` onFocusChanged(boolean arg0, int arg1, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg2) `                                                                                                                                        | | ` boolean`                                                                                                                        | ` onGenericMotionEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                | | ` void`                                                                                                                           | ` onHoverChanged(boolean arg0) `                                                                                                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onHoverEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                        | | ` void`                                                                                                                           | ` onInitializeAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                          | | ` void`                                                                                                                           | ` onInitializeAccessibilityNodeInfo(`[AccessibilityNodeInfo](https://developer.android.com/reference/android/view/accessibility/AccessibilityNodeInfo.html)` arg0) `                                                                                                 | | ` boolean`                                                                                                                        | ` onKeyDown(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                       | | ` boolean`                                                                                                                        | ` onKeyFallback(`[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg0) `                                                                                                                                                             | | ` boolean`                                                                                                                        | ` onKeyLongPress(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                  | | ` boolean`                                                                                                                        | ` onKeyMultiple(int arg0, int arg1, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg2) `                                                                                                                                         | | ` boolean`                                                                                                                        | ` onKeyPreIme(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                     | | ` boolean`                                                                                                                        | ` onKeyShortcut(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                   | | ` boolean`                                                                                                                        | ` onKeyUp(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                                                                                                                                                         | | ` void`                                                                                                                           | ` onLayout(boolean arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` onMeasure(int arg0, int arg1) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` onOverScrolled(int arg0, int arg1, boolean arg2, boolean arg3) `                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` onPointerCaptureChange(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onPopulateAccessibilityEvent(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                            | | ` void`                                                                                                                           | ` onProvideAutofillStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                            | | ` void`                                                                                                                           | ` onProvideAutofillVirtualStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0, int arg1) `                                                                                                                     | | ` void`                                                                                                                           | ` onProvideStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                              | | ` void`                                                                                                                           | ` onProvideVirtualStructure(`[ViewStructure](https://developer.android.com/reference/android/view/ViewStructure.html)` arg0) `                                                                                                                                       | | ` `[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)                                           | ` onResolvePointerIcon(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0, int arg1) `                                                                                                                                      | | ` void`                                                                                                                           | ` onRestoreInstanceState(`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` onRtlPropertiesChanged(int arg0) `                                                                                                                                                                                                                                 | | ` `[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)                                               | ` onSaveInstanceState() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onScreenStateChanged(int arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` onScrollChanged(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` onSetAlpha(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onSizeChanged(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` onStartTemporaryDetach() `                                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` onTouchEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                        | | ` boolean`                                                                                                                        | ` onTrackballEvent(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                                    | | ` void`                                                                                                                           | ` onVisibilityAggregated(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` onVisibilityChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                     | | ` void`                                                                                                                           | ` onWindowFocusChanged(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` onWindowSystemUiVisibilityChanged(int arg0) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` onWindowVisibilityChanged(int arg0) `                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` overScrollBy(int arg0, int arg1, int arg2, int arg3, int arg4, int arg5, int arg6, int arg7, boolean arg8) `                                                                                                                                                       | | ` boolean`                                                                                                                        | ` performAccessibilityAction(int arg0, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg1) `                                                                                                                                            | | ` boolean`                                                                                                                        | ` performClick() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` performContextClick(float arg0, float arg1) `                                                                                                                                                                                                                      | | ` boolean`                                                                                                                        | ` performContextClick() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` performHapticFeedback(int arg0) `                                                                                                                                                                                                                                  | | ` boolean`                                                                                                                        | ` performHapticFeedback(int arg0, int arg1) `                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` performLongClick(float arg0, float arg1) `                                                                                                                                                                                                                         | | ` boolean`                                                                                                                        | ` performLongClick() `                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` playSoundEffect(int arg0) `                                                                                                                                                                                                                                        | | ` boolean`                                                                                                                        | ` post(Runnable arg0) `                                                                                                                                                                                                                                              | | ` boolean`                                                                                                                        | ` postDelayed(Runnable arg0, long arg1) `                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` postInvalidate() `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` postInvalidate(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` postInvalidateDelayed(long arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                                                                         | | ` void`                                                                                                                           | ` postInvalidateDelayed(long arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` postInvalidateOnAnimation(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                | | ` void`                                                                                                                           | ` postInvalidateOnAnimation() `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` postOnAnimation(Runnable arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` postOnAnimationDelayed(Runnable arg0, long arg1) `                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` refreshDrawableState() `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` releasePointerCapture() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` removeCallbacks(Runnable arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` removeKeyFallbackListener(`[View.OnKeyFallbackListener](https://developer.android.com/reference/android/view/View.OnKeyFallbackListener.html)` arg0) `                                                                                                             | | ` void`                                                                                                                           | ` removeOnAttachStateChangeListener(`[View.OnAttachStateChangeListener](https://developer.android.com/reference/android/view/View.OnAttachStateChangeListener.html)` arg0) `                                                                                         | | ` void`                                                                                                                           | ` removeOnLayoutChangeListener(`[View.OnLayoutChangeListener](https://developer.android.com/reference/android/view/View.OnLayoutChangeListener.html)` arg0) `                                                                                                        | | ` void`                                                                                                                           | ` requestApplyInsets() `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` requestFitSystemWindows() `                                                                                                                                                                                                                                        | | ` final boolean`                                                                                                                  | ` requestFocus(int arg0) `                                                                                                                                                                                                                                           | | ` final boolean`                                                                                                                  | ` requestFocus() `                                                                                                                                                                                                                                                   | | ` boolean`                                                                                                                        | ` requestFocus(int arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                        | | ` final boolean`                                                                                                                  | ` requestFocusFromTouch() `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` requestLayout() `                                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` requestPointerCapture() `                                                                                                                                                                                                                                          | | ` boolean`                                                                                                                        | ` requestRectangleOnScreen(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                      | | ` boolean`                                                                                                                        | ` requestRectangleOnScreen(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0, boolean arg1) `                                                                                                                                        | | ` final void`                                                                                                                     | ` requestUnbufferedDispatch(`[MotionEvent](https://developer.android.com/reference/android/view/MotionEvent.html)` arg0) `                                                                                                                                           | | ` final <T extends `[View](https://developer.android.com/reference/android/view/View.html)`> T`                                   | ` requireViewById(int arg0) `                                                                                                                                                                                                                                        | | ` static int`                                                                                                                     | ` resolveSize(int arg0, int arg1) `                                                                                                                                                                                                                                  | | ` static int`                                                                                                                     | ` resolveSizeAndState(int arg0, int arg1, int arg2) `                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` restoreDefaultFocus() `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` restoreHierarchyState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                           | | ` void`                                                                                                                           | ` saveHierarchyState(`[SparseArray](https://developer.android.com/reference/android/util/SparseArray.html)`<`[Parcelable](https://developer.android.com/reference/android/os/Parcelable.html)`> arg0) `                                                              | | ` void`                                                                                                                           | ` scheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1, long arg2) `                                                                                                                   | | ` void`                                                                                                                           | ` scrollBy(int arg0, int arg1) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` scrollTo(int arg0, int arg1) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` sendAccessibilityEvent(int arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` sendAccessibilityEventUnchecked(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) `                                                                                                         | | ` void`                                                                                                                           | ` setAccessibilityDelegate(`[View.AccessibilityDelegate](https://developer.android.com/reference/android/view/View.AccessibilityDelegate.html)` arg0) `                                                                                                              | | ` void`                                                                                                                           | ` setAccessibilityLiveRegion(int arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setAccessibilityPaneTitle(CharSequence arg0) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setAccessibilityTraversalAfter(int arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setAccessibilityTraversalBefore(int arg0) `                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setActivated(boolean arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setAlpha(float arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setAnimation(`[Animation](https://developer.android.com/reference/android/view/animation/Animation.html)` arg0) `                                                                                                                                                  | | ` void`                                                                                                                           | ` setAutofillHints(String... arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setBackground(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                                | | ` void`                                                                                                                           | ` setBackgroundColor(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setBackgroundDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                        | | ` void`                                                                                                                           | ` setBackgroundResource(int arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setBackgroundTintList(`[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` arg0) `                                                                                                                                  | | ` void`                                                                                                                           | ` setBackgroundTintMode(`[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)` arg0) `                                                                                                                                   | | ` final void`                                                                                                                     | ` setBottom(int arg0) `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setCameraDistance(float arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setClickable(boolean arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setClipBounds(`[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg0) `                                                                                                                                                                 | | ` void`                                                                                                                           | ` setClipToOutline(boolean arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` setContentDescription(CharSequence arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setContextClickable(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setDefaultFocusHighlightEnabled(boolean arg0) `                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setDrawingCacheBackgroundColor(int arg0) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setDrawingCacheEnabled(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setDrawingCacheQuality(int arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setDuplicateParentStateEnabled(boolean arg0) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setElevation(float arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setEnabled(boolean arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setFadingEdgeLength(int arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setFilterTouchesWhenObscured(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setFitsSystemWindows(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setFocusable(boolean arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setFocusable(int arg0) `                                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setFocusableInTouchMode(boolean arg0) `                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setFocusedByDefault(boolean arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setForeground(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                                | | ` void`                                                                                                                           | ` setForegroundGravity(int arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` setForegroundTintList(`[ColorStateList](https://developer.android.com/reference/android/content/res/ColorStateList.html)` arg0) `                                                                                                                                  | | ` void`                                                                                                                           | ` setForegroundTintMode(`[PorterDuff.Mode](https://developer.android.com/reference/android/graphics/PorterDuff.Mode.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` setHapticFeedbackEnabled(boolean arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setHasTransientState(boolean arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setHorizontalFadingEdgeEnabled(boolean arg0) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setHorizontalScrollBarEnabled(boolean arg0) `                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setHovered(boolean arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setId(int arg0) `                                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setImportantForAccessibility(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setImportantForAutofill(int arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setKeepScreenOn(boolean arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setKeyboardNavigationCluster(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setLabelFor(int arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setLayerPaint(`[Paint](https://developer.android.com/reference/android/graphics/Paint.html)` arg0) `                                                                                                                                                               | | ` void`                                                                                                                           | ` setLayerType(int arg0, `[Paint](https://developer.android.com/reference/android/graphics/Paint.html)` arg1) `                                                                                                                                                      | | ` void`                                                                                                                           | ` setLayoutDirection(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setLayoutParams(`[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg0) `                                                                                                                               | | ` final void`                                                                                                                     | ` setLeft(int arg0) `                                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setLongClickable(boolean arg0) `                                                                                                                                                                                                                                   | | ` final void`                                                                                                                     | ` setMeasuredDimension(int arg0, int arg1) `                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setMinimumHeight(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setMinimumWidth(int arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setNestedScrollingEnabled(boolean arg0) `                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setNextClusterForwardId(int arg0) `                                                                                                                                                                                                                                | | ` void`                                                                                                                           | ` setNextFocusDownId(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setNextFocusForwardId(int arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setNextFocusLeftId(int arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setNextFocusRightId(int arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setNextFocusUpId(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setOnApplyWindowInsetsListener(`[View.OnApplyWindowInsetsListener](https://developer.android.com/reference/android/view/View.OnApplyWindowInsetsListener.html)` arg0) `                                                                                            | | ` void`                                                                                                                           | ` setOnCapturedPointerListener(`[View.OnCapturedPointerListener](https://developer.android.com/reference/android/view/View.OnCapturedPointerListener.html)` arg0) `                                                                                                  | | ` void`                                                                                                                           | ` setOnClickListener(`[View.OnClickListener](https://developer.android.com/reference/android/view/View.OnClickListener.html)` arg0) `                                                                                                                                | | ` void`                                                                                                                           | ` setOnContextClickListener(`[View.OnContextClickListener](https://developer.android.com/reference/android/view/View.OnContextClickListener.html)` arg0) `                                                                                                           | | ` void`                                                                                                                           | ` setOnCreateContextMenuListener(`[View.OnCreateContextMenuListener](https://developer.android.com/reference/android/view/View.OnCreateContextMenuListener.html)` arg0) `                                                                                            | | ` void`                                                                                                                           | ` setOnDragListener(`[View.OnDragListener](https://developer.android.com/reference/android/view/View.OnDragListener.html)` arg0) `                                                                                                                                   | | ` void`                                                                                                                           | ` setOnFocusChangeListener(`[View.OnFocusChangeListener](https://developer.android.com/reference/android/view/View.OnFocusChangeListener.html)` arg0) `                                                                                                              | | ` void`                                                                                                                           | ` setOnGenericMotionListener(`[View.OnGenericMotionListener](https://developer.android.com/reference/android/view/View.OnGenericMotionListener.html)` arg0) `                                                                                                        | | ` void`                                                                                                                           | ` setOnHoverListener(`[View.OnHoverListener](https://developer.android.com/reference/android/view/View.OnHoverListener.html)` arg0) `                                                                                                                                | | ` void`                                                                                                                           | ` setOnKeyListener(`[View.OnKeyListener](https://developer.android.com/reference/android/view/View.OnKeyListener.html)` arg0) `                                                                                                                                      | | ` void`                                                                                                                           | ` setOnLongClickListener(`[View.OnLongClickListener](https://developer.android.com/reference/android/view/View.OnLongClickListener.html)` arg0) `                                                                                                                    | | ` void`                                                                                                                           | ` setOnScrollChangeListener(`[View.OnScrollChangeListener](https://developer.android.com/reference/android/view/View.OnScrollChangeListener.html)` arg0) `                                                                                                           | | ` void`                                                                                                                           | ` setOnSystemUiVisibilityChangeListener(`[View.OnSystemUiVisibilityChangeListener](https://developer.android.com/reference/android/view/View.OnSystemUiVisibilityChangeListener.html)` arg0) `                                                                       | | ` void`                                                                                                                           | ` setOnTouchListener(`[View.OnTouchListener](https://developer.android.com/reference/android/view/View.OnTouchListener.html)` arg0) `                                                                                                                                | | ` void`                                                                                                                           | ` setOutlineAmbientShadowColor(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setOutlineProvider(`[ViewOutlineProvider](https://developer.android.com/reference/android/view/ViewOutlineProvider.html)` arg0) `                                                                                                                                  | | ` void`                                                                                                                           | ` setOutlineSpotShadowColor(int arg0) `                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setOverScrollMode(int arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setPadding(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setPaddingRelative(int arg0, int arg1, int arg2, int arg3) `                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setPivotX(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setPivotY(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setPointerIcon(`[PointerIcon](https://developer.android.com/reference/android/view/PointerIcon.html)` arg0) `                                                                                                                                                      | | ` void`                                                                                                                           | ` setPressed(boolean arg0) `                                                                                                                                                                                                                                         | | ` final void`                                                                                                                     | ` setRevealOnFocusHint(boolean arg0) `                                                                                                                                                                                                                               | | ` final void`                                                                                                                     | ` setRight(int arg0) `                                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setRotation(float arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setRotationX(float arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setRotationY(float arg0) `                                                                                                                                                                                                                                         | | ` void`                                                                                                                           | ` setSaveEnabled(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setSaveFromParentEnabled(boolean arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setScaleX(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setScaleY(float arg0) `                                                                                                                                                                                                                                            | | ` void`                                                                                                                           | ` setScreenReaderFocusable(boolean arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setScrollBarDefaultDelayBeforeFade(int arg0) `                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setScrollBarFadeDuration(int arg0) `                                                                                                                                                                                                                               | | ` void`                                                                                                                           | ` setScrollBarSize(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setScrollBarStyle(int arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setScrollContainer(boolean arg0) `                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setScrollIndicators(int arg0, int arg1) `                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setScrollIndicators(int arg0) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setScrollX(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setScrollY(int arg0) `                                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setScrollbarFadingEnabled(boolean arg0) `                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setSelected(boolean arg0) `                                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setSoundEffectsEnabled(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setStateListAnimator(`[StateListAnimator](https://developer.android.com/reference/android/animation/StateListAnimator.html)` arg0) `                                                                                                                               | | ` void`                                                                                                                           | ` setSystemUiVisibility(int arg0) `                                                                                                                                                                                                                                  | | ` void`                                                                                                                           | ` setTag(int arg0, Object arg1) `                                                                                                                                                                                                                                    | | ` void`                                                                                                                           | ` setTag(Object arg0) `                                                                                                                                                                                                                                              | | ` void`                                                                                                                           | ` setTextAlignment(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setTextDirection(int arg0) `                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setTooltipText(CharSequence arg0) `                                                                                                                                                                                                                                | | ` final void`                                                                                                                     | ` setTop(int arg0) `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setTouchDelegate(`[TouchDelegate](https://developer.android.com/reference/android/view/TouchDelegate.html)` arg0) `                                                                                                                                                | | ` final void`                                                                                                                     | ` setTransitionName(String arg0) `                                                                                                                                                                                                                                   | | ` void`                                                                                                                           | ` setTranslationX(float arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setTranslationY(float arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setTranslationZ(float arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` setVerticalFadingEdgeEnabled(boolean arg0) `                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` setVerticalScrollBarEnabled(boolean arg0) `                                                                                                                                                                                                                        | | ` void`                                                                                                                           | ` setVerticalScrollbarPosition(int arg0) `                                                                                                                                                                                                                           | | ` void`                                                                                                                           | ` setVisibility(int arg0) `                                                                                                                                                                                                                                          | | ` void`                                                                                                                           | ` setWillNotCacheDrawing(boolean arg0) `                                                                                                                                                                                                                             | | ` void`                                                                                                                           | ` setWillNotDraw(boolean arg0) `                                                                                                                                                                                                                                     | | ` void`                                                                                                                           | ` setX(float arg0) `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setY(float arg0) `                                                                                                                                                                                                                                                 | | ` void`                                                                                                                           | ` setZ(float arg0) `                                                                                                                                                                                                                                                 | | ` boolean`                                                                                                                        | ` showContextMenu() `                                                                                                                                                                                                                                                | | ` boolean`                                                                                                                        | ` showContextMenu(float arg0, float arg1) `                                                                                                                                                                                                                          | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0, int arg1) `                                                                                                                           | | ` `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html)                                             | ` startActionMode(`[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg0) `                                                                                                                                     | | ` void`                                                                                                                           | ` startAnimation(`[Animation](https://developer.android.com/reference/android/view/animation/Animation.html)` arg0) `                                                                                                                                                | | ` final boolean`                                                                                                                  | ` startDrag(`[ClipData](https://developer.android.com/reference/android/content/ClipData.html)` arg0, `[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` arg1, Object arg2, int arg3) `                    | | ` final boolean`                                                                                                                  | ` startDragAndDrop(`[ClipData](https://developer.android.com/reference/android/content/ClipData.html)` arg0, `[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` arg1, Object arg2, int arg3) `             | | ` boolean`                                                                                                                        | ` startNestedScroll(int arg0) `                                                                                                                                                                                                                                      | | ` void`                                                                                                                           | ` stopNestedScroll() `                                                                                                                                                                                                                                               | | ` String`                                                                                                                         | ` toString() `                                                                                                                                                                                                                                                       | | ` void`                                                                                                                           | ` unscheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1) `                                                                                                                            | | ` void`                                                                                                                           | ` unscheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                           | | ` final void`                                                                                                                     | ` updateDragShadow(`[View.DragShadowBuilder](https://developer.android.com/reference/android/view/View.DragShadowBuilder.html)` arg0) `                                                                                                                              | | ` boolean`                                                                                                                        | ` verifyDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                                                                                                                                               | | ` boolean`                                                                                                                        | ` willNotCacheDrawing() `                                                                                                                                                                                                                                            | | ` boolean`                                                                                                                        | ` willNotDraw() `                                                                                                                                                                                                                                                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From class` java.lang.Object ` |-------------------|-------------------------------| | ` Object`         | ` clone() `                   | | ` boolean`        | ` equals(Object arg0) `       | | ` void`           | ` finalize() `                | | ` final Class<?>` | ` getClass() `                | | ` int`            | ` hashCode() `                | | ` final void`     | ` notify() `                  | | ` final void`     | ` notifyAll() `               | | ` String`         | ` toString() `                | | ` final void`     | ` wait(long arg0, int arg1) ` | | ` final void`     | ` wait(long arg0) `           | | ` final void`     | ` wait() `                    | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.view.ViewParent](https://developer.android.com/reference/android/view/ViewParent.html)` ` |------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void`                                                                               | ` bringChildToFront(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                           | | ` abstract boolean`                                                                            | ` canResolveLayoutDirection() `                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                            | ` canResolveTextAlignment() `                                                                                                                                                                                                                                                  | | ` abstract boolean`                                                                            | ` canResolveTextDirection() `                                                                                                                                                                                                                                                  | | ` abstract void`                                                                               | ` childDrawableStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                   | | ` abstract void`                                                                               | ` childHasTransientStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, boolean arg1) `                                                                                                                                                 | | ` abstract void`                                                                               | ` clearChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                             | | ` abstract void`                                                                               | ` createContextMenu(`[ContextMenu](https://developer.android.com/reference/android/view/ContextMenu.html)` arg0) `                                                                                                                                                             | | ` abstract `[View](https://developer.android.com/reference/android/view/View.html)             | ` focusSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                                       | | ` abstract void`                                                                               | ` focusableViewAvailable(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                      | | ` abstract boolean`                                                                            | ` getChildVisibleRect(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, `[Point](https://developer.android.com/reference/android/graphics/Point.html)` arg2) ` | | ` abstract int`                                                                                | ` getLayoutDirection() `                                                                                                                                                                                                                                                       | | ` abstract `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) | ` getParent() `                                                                                                                                                                                                                                                                | | ` abstract `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) | ` getParentForAccessibility() `                                                                                                                                                                                                                                                | | ` abstract int`                                                                                | ` getTextAlignment() `                                                                                                                                                                                                                                                         | | ` abstract int`                                                                                | ` getTextDirection() `                                                                                                                                                                                                                                                         | | ` abstract void`                                                                               | ` invalidateChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                          | | ` abstract `[ViewParent](https://developer.android.com/reference/android/view/ViewParent.html) | ` invalidateChildInParent(int[] arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1) `                                                                                                                                                     | | ` abstract boolean`                                                                            | ` isLayoutDirectionResolved() `                                                                                                                                                                                                                                                | | ` abstract boolean`                                                                            | ` isLayoutRequested() `                                                                                                                                                                                                                                                        | | ` abstract boolean`                                                                            | ` isTextAlignmentResolved() `                                                                                                                                                                                                                                                  | | ` abstract boolean`                                                                            | ` isTextDirectionResolved() `                                                                                                                                                                                                                                                  | | ` abstract `[View](https://developer.android.com/reference/android/view/View.html)             | ` keyboardNavigationClusterSearch(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1) `                                                                                                                                                   | | ` abstract void`                                                                               | ` notifySubtreeAccessibilityStateChanged(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                             | | ` default void`                                                                                | ` onDescendantInvalidated(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                      | | ` abstract boolean`                                                                            | ` onNestedFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2, boolean arg3) `                                                                                                                                         | | ` abstract boolean`                                                                            | ` onNestedPreFling(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                                    | | ` abstract boolean`                                                                            | ` onNestedPrePerformAccessibilityAction(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, `[Bundle](https://developer.android.com/reference/android/os/Bundle.html)` arg2) `                                                            | | ` abstract void`                                                                               | ` onNestedPreScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int[] arg3) `                                                                                                                                           | | ` abstract void`                                                                               | ` onNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, int arg1, int arg2, int arg3, int arg4) `                                                                                                                                      | | ` abstract void`                                                                               | ` onNestedScrollAccepted(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                             | | ` abstract boolean`                                                                            | ` onStartNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1, int arg2) `                                                                                | | ` abstract void`                                                                               | ` onStopNestedScroll(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                          | | ` abstract void`                                                                               | ` recomputeViewAttributes(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` abstract void`                                                                               | ` requestChildFocus(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[View](https://developer.android.com/reference/android/view/View.html)` arg1) `                                                                                            | | ` abstract boolean`                                                                            | ` requestChildRectangleOnScreen(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[Rect](https://developer.android.com/reference/android/graphics/Rect.html)` arg1, boolean arg2) `                                                              | | ` abstract void`                                                                               | ` requestDisallowInterceptTouchEvent(boolean arg0) `                                                                                                                                                                                                                           | | ` abstract void`                                                                               | ` requestFitSystemWindows() `                                                                                                                                                                                                                                                  | | ` abstract void`                                                                               | ` requestLayout() `                                                                                                                                                                                                                                                            | | ` abstract boolean`                                                                            | ` requestSendAccessibilityEvent(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg1) `                                      | | ` abstract void`                                                                               | ` requestTransparentRegion(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                    | | ` abstract boolean`                                                                            | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                                                                     | | ` abstract boolean`                                                                            | ` showContextMenuForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, float arg1, float arg2) `                                                                                                                                             | | ` abstract `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html) | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1, int arg2) `                                              | | ` abstract `[ActionMode](https://developer.android.com/reference/android/view/ActionMode.html) | ` startActionModeForChild(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ActionMode.Callback](https://developer.android.com/reference/android/view/ActionMode.Callback.html)` arg1) `                                                        | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.view.ViewManager](https://developer.android.com/reference/android/view/ViewManager.html)` ` |------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` addView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) `          | | ` abstract void` | ` removeView(`[View](https://developer.android.com/reference/android/view/View.html)` arg0) `                                                                                                                          | | ` abstract void` | ` updateViewLayout(`[View](https://developer.android.com/reference/android/view/View.html)` arg0, `[ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html)` arg1) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.graphics.drawable.Drawable.Callback](https://developer.android.com/reference/android/graphics/drawable/Drawable.Callback.html)` ` |------------------|----------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` invalidateDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0) `                         | | ` abstract void` | ` scheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1, long arg2) ` | | ` abstract void` | ` unscheduleDrawable(`[Drawable](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)` arg0, Runnable arg1) `          | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.view.KeyEvent.Callback](https://developer.android.com/reference/android/view/KeyEvent.Callback.html)` ` |---------------------|------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean` | ` onKeyDown(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `               | | ` abstract boolean` | ` onKeyLongPress(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `          | | ` abstract boolean` | ` onKeyMultiple(int arg0, int arg1, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg2) ` | | ` abstract boolean` | ` onKeyUp(int arg0, `[KeyEvent](https://developer.android.com/reference/android/view/KeyEvent.html)` arg1) `                 | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.view.accessibility.AccessibilityEventSource](https://developer.android.com/reference/android/view/accessibility/AccessibilityEventSource.html)` ` |------------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract void` | ` sendAccessibilityEvent(int arg0) `                                                                                                                         | | ` abstract void` | ` sendAccessibilityEventUnchecked(`[AccessibilityEvent](https://developer.android.com/reference/android/view/accessibility/AccessibilityEvent.html)` arg0) ` | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.support.v4.view.ScrollingView](https://developer.android.com/reference/android/support/v4/view/ScrollingView)` ` |-----------------|--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract int` | ` `[computeHorizontalScrollExtent](https://developer.android.com/reference/android/support/v4/view/ScrollingView#computeHorizontalScrollExtent())`() ` <br /> Compute the horizontal extent of the horizontal scrollbar's thumb within the horizontal range. | | ` abstract int` | ` `[computeHorizontalScrollOffset](https://developer.android.com/reference/android/support/v4/view/ScrollingView#computeHorizontalScrollOffset())`() ` <br /> Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal range. | | ` abstract int` | ` `[computeHorizontalScrollRange](https://developer.android.com/reference/android/support/v4/view/ScrollingView#computeHorizontalScrollRange())`() ` <br /> Compute the horizontal range that the horizontal scrollbar represents.                           | | ` abstract int` | ` `[computeVerticalScrollExtent](https://developer.android.com/reference/android/support/v4/view/ScrollingView#computeVerticalScrollExtent())`() ` <br /> Compute the vertical extent of the vertical scrollbar's thumb within the vertical range.           | | ` abstract int` | ` `[computeVerticalScrollOffset](https://developer.android.com/reference/android/support/v4/view/ScrollingView#computeVerticalScrollOffset())`() ` <br /> Compute the vertical offset of the vertical scrollbar's thumb within the horizontal range.         | | ` abstract int` | ` `[computeVerticalScrollRange](https://developer.android.com/reference/android/support/v4/view/ScrollingView#computeVerticalScrollRange())`() ` <br /> Compute the vertical range that the vertical scrollbar represents.                                   | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.support.v4.view.NestedScrollingChild2](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2)` ` |---------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean` | ` `[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#dispatchNestedPreScroll(int, int, int[], int[], int))`(int dx, int dy, int[] consumed, int[] offsetInWindow, int type) ` Dispatch one step of a nested scroll in progress before this view consumes any portion of it. | | ` abstract boolean` | ` `[dispatchNestedScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#dispatchNestedScroll(int, int, int, int, int[], int))`(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int[] offsetInWindow, int type) ` Dispatch one step of a nested scroll in progress.            | | ` abstract boolean` | ` `[hasNestedScrollingParent](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#hasNestedScrollingParent(int))`(int type) ` Returns true if this view has a nested scrolling parent for the given input type.                                                                                         | | ` abstract boolean` | ` `[startNestedScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#startNestedScroll(int, int))`(int axes, int type) ` Begin a nestable scroll operation along the given axes, for the given input type.                                                                                        | | ` abstract void`    | ` `[stopNestedScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#stopNestedScroll(int))`(int type) ` Stop a nested scroll in progress for the given input type.                                                                                                                                | ||
| [![](https://developer.android.com/static/assets/images/styles/disclosure_down.png)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#)From interface` `[android.support.v4.view.NestedScrollingChild](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild)` ` |---------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` abstract boolean` | ` `[dispatchNestedFling](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#dispatchNestedFling(float, float, boolean))`(float velocityX, float velocityY, boolean consumed) ` Dispatch a fling to a nested scrolling parent.                                                           | | ` abstract boolean` | ` `[dispatchNestedPreFling](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#dispatchNestedPreFling(float, float))`(float velocityX, float velocityY) ` Dispatch a fling to a nested scrolling parent before it is processed by this view.                                            | | ` abstract boolean` | ` `[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#dispatchNestedPreScroll(int, int, int[], int[]))`(int dx, int dy, int[] consumed, int[] offsetInWindow) ` Dispatch one step of a nested scroll in progress before this view consumes any portion of it. | | ` abstract boolean` | ` `[dispatchNestedScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#dispatchNestedScroll(int, int, int, int, int[]))`(int dxConsumed, int dyConsumed, int dxUnconsumed, int dyUnconsumed, int[] offsetInWindow) ` Dispatch one step of a nested scroll in progress.            | | ` abstract boolean` | ` `[hasNestedScrollingParent](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#hasNestedScrollingParent())`() ` Returns true if this view has a nested scrolling parent.                                                                                                              | | ` abstract boolean` | ` `[isNestedScrollingEnabled](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#isNestedScrollingEnabled())`() ` Returns true if nested scrolling is enabled for this view.                                                                                                            | | ` abstract void`    | ` `[setNestedScrollingEnabled](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#setNestedScrollingEnabled(boolean))`(boolean enabled) ` Enable or disable nested scrolling for this view.                                                                                             | | ` abstract boolean` | ` `[startNestedScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#startNestedScroll(int))`(int axes) ` Begin a nestable scroll operation along the given axes.                                                                                                                  | | ` abstract void`    | ` `[stopNestedScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#stopNestedScroll())`() ` Stop a nested scroll in progress.                                                                                                                                                     | ||

## XML attributes

### RecyclerView_layoutManager

<br />

<br />

## Constants

### HORIZONTAL

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int HORIZONTAL
```

<br />

<br />

Constant Value: 0 (0x00000000)  

### INVALID_TYPE

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int INVALID_TYPE
```

<br />

<br />

Constant Value: -1 (0xffffffff)  

### NO_ID

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
long NO_ID
```

<br />

<br />

Constant Value: -1 (0xffffffffffffffff)  

### NO_POSITION

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int NO_POSITION
```

<br />

<br />

Constant Value: -1 (0xffffffff)  

### SCROLL_STATE_DRAGGING

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int SCROLL_STATE_DRAGGING
```

The RecyclerView is currently being dragged by outside input such as user touch input.

<br />

**See also:**

- [getScrollState()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getScrollState())

Constant Value: 1 (0x00000001)  

### SCROLL_STATE_IDLE

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int SCROLL_STATE_IDLE
```

The RecyclerView is not currently scrolling.

<br />

**See also:**

- [getScrollState()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getScrollState())

Constant Value: 0 (0x00000000)  

### SCROLL_STATE_SETTLING

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int SCROLL_STATE_SETTLING
```

The RecyclerView is currently animating to a final position while not under outside control.

<br />

**See also:**

- [getScrollState()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getScrollState())

Constant Value: 2 (0x00000002)  

### TOUCH_SLOP_DEFAULT

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int TOUCH_SLOP_DEFAULT
```

Constant for use with[setScrollingTouchSlop(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setScrollingTouchSlop(int)). Indicates that the RecyclerView should use the standard touch slop for smooth, continuous scrolling.

<br />

Constant Value: 0 (0x00000000)  

### TOUCH_SLOP_PAGING

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int TOUCH_SLOP_PAGING
```

Constant for use with[setScrollingTouchSlop(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setScrollingTouchSlop(int)). Indicates that the RecyclerView should use the standard touch slop for scrolling widgets that snap to a page or other coarse-grained barrier.

<br />

Constant Value: 1 (0x00000001)  

### VERTICAL

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int VERTICAL
```

<br />

<br />

Constant Value: 1 (0x00000001)

## Public constructors

### RecyclerView

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView (Context context)
```

<br />

<br />

|         Parameters          ||
|-----------|------------------|
| `context` | `Context` <br /> |

### RecyclerView

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView (Context context, 
                AttributeSet attrs)
```

<br />

<br />

|            Parameters            ||
|-----------|-----------------------|
| `context` | `Context` <br />      |
| `attrs`   | `AttributeSet` <br /> |

### RecyclerView

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView (Context context, 
                AttributeSet attrs, 
                int defStyle)
```

<br />

<br />

|            Parameters             ||
|------------|-----------------------|
| `context`  | `Context` <br />      |
| `attrs`    | `AttributeSet` <br /> |
| `defStyle` | `int` <br />          |

## Public methods

### addFocusables

```
void addFocusables (ArrayList<View> views, 
                int direction, 
                int focusableMode)
```

<br />

<br />

|             Parameters              ||
|-----------------|--------------------|
| `views`         | `ArrayList` <br /> |
| `direction`     | `int` <br />       |
| `focusableMode` | `int` <br />       |

### addItemDecoration

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addItemDecoration (RecyclerView.ItemDecoration decor)
```

Add an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)to this RecyclerView. Item decorations can affect both measurement and drawing of individual item views.

Item decorations are ordered. Decorations placed earlier in the list will be run/queried/drawn first for their effects on item views. Padding added to views will be nested; a padding added by an earlier decoration will mean further item decorations in the list will be asked to draw/pad within the previous decoration's given area.

<br />

<br />

|                            Parameters                            ||
|---------|---------------------------------------------------------|
| `decor` | `RecyclerView.ItemDecoration`: Decoration to add <br /> |

### addItemDecoration

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addItemDecoration (RecyclerView.ItemDecoration decor, 
                int index)
```

Add an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)to this RecyclerView. Item decorations can affect both measurement and drawing of individual item views.

Item decorations are ordered. Decorations placed earlier in the list will be run/queried/drawn first for their effects on item views. Padding added to views will be nested; a padding added by an earlier decoration will mean further item decorations in the list will be asked to draw/pad within the previous decoration's given area.

<br />

<br />

|                                                                        Parameters                                                                        ||
|---------|-------------------------------------------------------------------------------------------------------------------------------------------------|
| `decor` | `RecyclerView.ItemDecoration`: Decoration to add <br />                                                                                         |
| `index` | `int`: Position in the decoration chain to insert this decoration at. If this value is negative the decoration will be added at the end. <br /> |

### addOnChildAttachStateChangeListener

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addOnChildAttachStateChangeListener (RecyclerView.OnChildAttachStateChangeListener listener)
```

Register a listener that will be notified whenever a child view is attached to or detached from RecyclerView.

This listener will be called when a LayoutManager or the RecyclerView decides that a child view is no longer needed. If an application associates expensive or heavyweight data with item views, this may be a good place to release or free those resources.

<br />

<br />

|                                        Parameters                                        ||
|------------|------------------------------------------------------------------------------|
| `listener` | `RecyclerView.OnChildAttachStateChangeListener`: Listener to register <br /> |

### addOnItemTouchListener

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addOnItemTouchListener (RecyclerView.OnItemTouchListener listener)
```

Add an[RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener)to intercept touch events before they are dispatched to child views or this view's standard scrolling behavior.

Client code may use listeners to implement item manipulation behavior. Once a listener returns true from[onInterceptTouchEvent(RecyclerView, MotionEvent)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener#onInterceptTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent))its[onTouchEvent(RecyclerView, MotionEvent)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener#onTouchEvent(android.support.v7.widget.RecyclerView, android.view.MotionEvent))method will be called for each incoming MotionEvent until the end of the gesture.

<br />

<br />

|                               Parameters                               ||
|------------|------------------------------------------------------------|
| `listener` | `RecyclerView.OnItemTouchListener`: Listener to add <br /> |

**See also:**

- [RecyclerView.SimpleOnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SimpleOnItemTouchListener)  

### addOnScrollListener

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void addOnScrollListener (RecyclerView.OnScrollListener listener)
```

Add a listener that will be notified of any changes in scroll state or position.

Components that add a listener should take care to remove it when finished. Other components that take ownership of a view may call[clearOnScrollListeners()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#clearOnScrollListeners())to remove all attached listeners.

<br />

<br />

|                             Parameters                              ||
|------------|---------------------------------------------------------|
| `listener` | `RecyclerView.OnScrollListener`: listener to set <br /> |

### clearOnChildAttachStateChangeListeners

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void clearOnChildAttachStateChangeListeners ()
```

Removes all listeners that were added via[addOnChildAttachStateChangeListener(OnChildAttachStateChangeListener)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addOnChildAttachStateChangeListener(android.support.v7.widget.RecyclerView.OnChildAttachStateChangeListener)).

<br />

### clearOnScrollListeners

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void clearOnScrollListeners ()
```

Remove all secondary listener that were notified of any changes in scroll state or position.

<br />

### computeHorizontalScrollExtent

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int computeHorizontalScrollExtent ()
```

<br />

Compute the horizontal extent of the horizontal scrollbar's thumb within the horizontal range. This value is used to compute the length of the thumb within the scrollbar's track.

The range is expressed in arbitrary units that must be the same as the units used by[computeHorizontalScrollRange()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollRange())and[computeHorizontalScrollOffset()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollOffset()).

Default implementation returns 0.

If you want to support scroll bars, override[computeHorizontalScrollExtent(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeHorizontalScrollExtent(android.support.v7.widget.RecyclerView.State))in your LayoutManager.

<br />

<br />

|                           Returns                            ||
|-------|-------------------------------------------------------|
| `int` | The horizontal extent of the scrollbar's thumb <br /> |

**See also:**

- [computeHorizontalScrollExtent(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeHorizontalScrollExtent(android.support.v7.widget.RecyclerView.State))  

### computeHorizontalScrollOffset

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int computeHorizontalScrollOffset ()
```

<br />

Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal range. This value is used to compute the length of the thumb within the scrollbar's track.

The range is expressed in arbitrary units that must be the same as the units used by[computeHorizontalScrollRange()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollRange())and[computeHorizontalScrollExtent()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollExtent()).

Default implementation returns 0.

If you want to support scroll bars, override[computeHorizontalScrollOffset(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeHorizontalScrollOffset(android.support.v7.widget.RecyclerView.State))in your LayoutManager.

<br />

<br />

|                           Returns                            ||
|-------|-------------------------------------------------------|
| `int` | The horizontal offset of the scrollbar's thumb <br /> |

**See also:**

- [(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeHorizontalScrollOffset(android.support.v7.widget.RecyclerView.State))  

### computeHorizontalScrollRange

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int computeHorizontalScrollRange ()
```

<br />

Compute the horizontal range that the horizontal scrollbar represents.

The range is expressed in arbitrary units that must be the same as the units used by[computeHorizontalScrollExtent()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollExtent())and[computeHorizontalScrollOffset()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeHorizontalScrollOffset()).

Default implementation returns 0.

If you want to support scroll bars, override[computeHorizontalScrollRange(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeHorizontalScrollRange(android.support.v7.widget.RecyclerView.State))in your LayoutManager.

<br />

<br />

|                                    Returns                                     ||
|-------|-------------------------------------------------------------------------|
| `int` | The total horizontal range represented by the vertical scrollbar <br /> |

**See also:**

- [computeHorizontalScrollRange(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeHorizontalScrollRange(android.support.v7.widget.RecyclerView.State))  

### computeVerticalScrollExtent

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int computeVerticalScrollExtent ()
```

<br />

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 within the scrollbar's track.

The range is expressed in arbitrary units that must be the same as the units used by[computeVerticalScrollRange()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollRange())and[computeVerticalScrollOffset()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollOffset()).

Default implementation returns 0.

If you want to support scroll bars, override[computeVerticalScrollExtent(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeVerticalScrollExtent(android.support.v7.widget.RecyclerView.State))in your LayoutManager.

<br />

<br />

|                          Returns                           ||
|-------|-----------------------------------------------------|
| `int` | The vertical extent of the scrollbar's thumb <br /> |

**See also:**

- [computeVerticalScrollExtent(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeVerticalScrollExtent(android.support.v7.widget.RecyclerView.State))  

### computeVerticalScrollOffset

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int computeVerticalScrollOffset ()
```

<br />

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 within the scrollbar's track.

The range is expressed in arbitrary units that must be the same as the units used by[computeVerticalScrollRange()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollRange())and[computeVerticalScrollExtent()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollExtent()).

Default implementation returns 0.

If you want to support scroll bars, override[computeVerticalScrollOffset(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeVerticalScrollOffset(android.support.v7.widget.RecyclerView.State))in your LayoutManager.

<br />

<br />

|                          Returns                           ||
|-------|-----------------------------------------------------|
| `int` | The vertical offset of the scrollbar's thumb <br /> |

**See also:**

- [(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeVerticalScrollOffset(android.support.v7.widget.RecyclerView.State))  

### computeVerticalScrollRange

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int computeVerticalScrollRange ()
```

<br />

Compute the vertical range that the vertical scrollbar represents.

The range is expressed in arbitrary units that must be the same as the units used by[computeVerticalScrollExtent()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollExtent())and[computeVerticalScrollOffset()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#computeVerticalScrollOffset()).

Default implementation returns 0.

If you want to support scroll bars, override[computeVerticalScrollRange(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeVerticalScrollRange(android.support.v7.widget.RecyclerView.State))in your LayoutManager.

<br />

<br />

|                                   Returns                                    ||
|-------|-----------------------------------------------------------------------|
| `int` | The total vertical range represented by the vertical scrollbar <br /> |

**See also:**

- [computeVerticalScrollRange(RecyclerView.State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#computeVerticalScrollRange(android.support.v7.widget.RecyclerView.State))  

### dispatchNestedFling

```
boolean dispatchNestedFling (float velocityX, 
                float velocityY, 
                boolean consumed)
```

<br />

<br />

|          Parameters           ||
|-------------|------------------|
| `velocityX` | `float` <br />   |
| `velocityY` | `float` <br />   |
| `consumed`  | `boolean` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### dispatchNestedPreFling

```
boolean dispatchNestedPreFling (float velocityX, 
                float velocityY)
```

<br />

<br />

|         Parameters          ||
|-------------|----------------|
| `velocityX` | `float` <br /> |
| `velocityY` | `float` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### dispatchNestedPreScroll

```
boolean dispatchNestedPreScroll (int dx, 
                int dy, 
                int[] consumed, 
                int[] offsetInWindow)
```

<br />

<br />

|           Parameters           ||
|------------------|--------------|
| `dx`             | `int` <br /> |
| `dy`             | `int` <br /> |
| `consumed`       | `int` <br /> |
| `offsetInWindow` | `int` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### dispatchNestedPreScroll

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean dispatchNestedPreScroll (int dx, 
                int dy, 
                int[] consumed, 
                int[] offsetInWindow, 
                int type)
```

Dispatch one step of a nested scroll in progress before this view consumes any portion of it.

Nested pre-scroll events are to nested scroll events what touch intercept is to touch.`dispatchNestedPreScroll`offers an opportunity for the parent view in a nested scrolling operation to consume some or all of the scroll operation before the child view consumes it.

<br />

<br />

|                                                                                                                               Parameters                                                                                                                               ||
|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `dx`             | `int`: Horizontal scroll distance in pixels <br />                                                                                                                                                                                                   |
| `dy`             | `int`: Vertical scroll distance in pixels <br />                                                                                                                                                                                                     |
| `consumed`       | `int`: Output. If not null, consumed\[0\] will contain the consumed component of dx and consumed\[1\] the consumed dy. <br />                                                                                                                        |
| `offsetInWindow` | `int`: Optional. If not null, on return this will contain the offset in local view coordinates of this view from before this operation to after it completes. View implementations may use this to adjust expected input coordinate tracking. <br /> |
| `type`           | `int`: the type of input which cause this scroll event <br />                                                                                                                                                                                        |

|                                    Returns                                    ||
|-----------|--------------------------------------------------------------------|
| `boolean` | true if the parent consumed some or all of the scroll delta <br /> |

### dispatchNestedScroll

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean dispatchNestedScroll (int dxConsumed, 
                int dyConsumed, 
                int dxUnconsumed, 
                int dyUnconsumed, 
                int[] offsetInWindow, 
                int type)
```

Dispatch one step of a nested scroll in progress.

Implementations of views that support nested scrolling should call this to report info about a scroll in progress to the current nested scrolling parent. If a nested scroll is not currently in progress or nested scrolling is not[enabled](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild#isNestedScrollingEnabled())for this view this method does nothing.

Compatible View implementations should also call[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#dispatchNestedPreScroll(int, int, int[], int[], int))before consuming a component of the scroll event themselves.

<br />

<br />

|                                                                                                                               Parameters                                                                                                                               ||
|------------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `dxConsumed`     | `int`: Horizontal distance in pixels consumed by this view during this scroll step <br />                                                                                                                                                            |
| `dyConsumed`     | `int`: Vertical distance in pixels consumed by this view during this scroll step <br />                                                                                                                                                              |
| `dxUnconsumed`   | `int`: Horizontal scroll distance in pixels not consumed by this view <br />                                                                                                                                                                         |
| `dyUnconsumed`   | `int`: Horizontal scroll distance in pixels not consumed by this view <br />                                                                                                                                                                         |
| `offsetInWindow` | `int`: Optional. If not null, on return this will contain the offset in local view coordinates of this view from before this operation to after it completes. View implementations may use this to adjust expected input coordinate tracking. <br /> |
| `type`           | `int`: the type of input which cause this scroll event <br />                                                                                                                                                                                        |

|                                         Returns                                          ||
|-----------|-------------------------------------------------------------------------------|
| `boolean` | true if the event was dispatched, false if it could not be dispatched. <br /> |

### dispatchNestedScroll

```
boolean dispatchNestedScroll (int dxConsumed, 
                int dyConsumed, 
                int dxUnconsumed, 
                int dyUnconsumed, 
                int[] offsetInWindow)
```

<br />

<br />

|           Parameters           ||
|------------------|--------------|
| `dxConsumed`     | `int` <br /> |
| `dyConsumed`     | `int` <br /> |
| `dxUnconsumed`   | `int` <br /> |
| `dyUnconsumed`   | `int` <br /> |
| `offsetInWindow` | `int` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### draw

```
void draw (Canvas c)
```

<br />

<br />

|      Parameters      ||
|-----|-----------------|
| `c` | `Canvas` <br /> |

### drawChild

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean drawChild (Canvas canvas, 
                View child, 
                long drawingTime)
```

<br />

<br />

|           Parameters           ||
|---------------|-----------------|
| `canvas`      | `Canvas` <br /> |
| `child`       | `View` <br />   |
| `drawingTime` | `long` <br />   |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### findChildViewUnder

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
View findChildViewUnder (float x, 
                float y)
```

Find the topmost view under the given point.

<br />

|                          Parameters                          ||
|-----|---------------------------------------------------------|
| `x` | `float`: Horizontal position in pixels to search <br /> |
| `y` | `float`: Vertical position in pixels to search <br />   |

|                                                                     Returns                                                                      ||
|------------------------------------------------------------------------|--------------------------------------------------------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | The child view under (x, y) or null if no matching child is found <br /> |

### findContainingItemView

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
View findContainingItemView (View view)
```

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 can be used to get the ViewHolder by calling[getChildViewHolder(View)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildViewHolder(android.view.View)).

<br />

|                                Parameters                                 ||
|--------|-------------------------------------------------------------------|
| `view` | `View`: The view that is a descendant of the RecyclerView. <br /> |

|                                                                                                         Returns                                                                                                          ||
|------------------------------------------------------------------------|--------------------------------------------------------------------------------------------------------------------------------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | The direct child of the RecyclerView which contains the given view or null if the provided view is not a descendant of this RecyclerView. <br /> |

**See also:**

- [getChildViewHolder(View)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildViewHolder(android.view.View))
- [findContainingViewHolder(View)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findContainingViewHolder(android.view.View))  

### findContainingViewHolder

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ViewHolder findContainingViewHolder (View view)
```

Returns the ViewHolder that contains the given view.

<br />

|                                Parameters                                 ||
|--------|-------------------------------------------------------------------|
| `view` | `View`: The view that is a descendant of the RecyclerView. <br /> |

|                                                                                                                     Returns                                                                                                                     ||
|----------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------|
| [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder) | The ViewHolder that contains the given view or null if the provided view is not a descendant of this RecyclerView. <br /> |

### findViewHolderForAdapterPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ViewHolder findViewHolderForAdapterPosition (int position)
```

Return the ViewHolder for the item in the given position of the data set. Unlike[findViewHolderForLayoutPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForLayoutPosition(int))this method takes into account any pending adapter changes that may not be reflected to the layout yet. On the other hand, if[notifyDataSetChanged()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter#notifyDataSetChanged())has been called but the new layout has not been calculated yet, this method will return`null`since the new positions of views are unknown until the layout is calculated.

This method checks only the children of RecyclerView. If the item at the given`position`is not laid out, it*will not*create a new one.

When the ItemAnimator is running a change animation, there might be 2 ViewHolders representing the same Item. In this case, the updated ViewHolder will be returned.

<br />

|                                    Parameters                                     ||
|------------|-----------------------------------------------------------------------|
| `position` | `int`: The position of the item in the data set of the adapter <br /> |

|                                                                                         Returns                                                                                          ||
|----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|
| [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder) | The ViewHolder at`position`or null if there is no such item <br /> |

### findViewHolderForItemId

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ViewHolder findViewHolderForItemId (long id)
```

Return the ViewHolder for the item with the given id. The RecyclerView must use an Adapter with[stableIds](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter#setHasStableIds(boolean))to return a non-null value.

This method checks only the children of RecyclerView. If the item with the given`id`is not laid out, it*will not*create a new one. When the ItemAnimator is running a change animation, there might be 2 ViewHolders with the same id. In this case, the updated ViewHolder will be returned.

<br />

|                     Parameters                     ||
|------|----------------------------------------------|
| `id` | `long`: The id for the requested item <br /> |

|                                                                                            Returns                                                                                             ||
|----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------------|
| [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder) | The ViewHolder with the given`id`or null if there is no such item <br /> |

### findViewHolderForLayoutPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ViewHolder findViewHolderForLayoutPosition (int position)
```

Return the ViewHolder for the item in the given position of the data set as of the latest layout pass.

This method checks only the children of RecyclerView. If the item at the given`position`is not laid out, it*will not*create a new one.

Note that when Adapter contents change, ViewHolder positions are not updated until the next layout calculation. If there are pending adapter updates, the return value of this method may not match your adapter contents. You can use #[getAdapterPosition()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder#getAdapterPosition())to get the current adapter position of a ViewHolder.

When the ItemAnimator is running a change animation, there might be 2 ViewHolders with the same layout position representing the same Item. In this case, the updated ViewHolder will be returned.

<br />

|                                    Parameters                                     ||
|------------|-----------------------------------------------------------------------|
| `position` | `int`: The position of the item in the data set of the adapter <br /> |

|                                                                                         Returns                                                                                          ||
|----------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------------|
| [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder) | The ViewHolder at`position`or null if there is no such item <br /> |

### findViewHolderForPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ViewHolder findViewHolderForPosition (int position)
```

<br />

**This method was deprecated in API level 22.1.0.**   
use[findViewHolderForLayoutPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForLayoutPosition(int))or[findViewHolderForAdapterPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#findViewHolderForAdapterPosition(int))

<br />

<br />

|        Parameters        ||
|------------|--------------|
| `position` | `int` <br /> |

|                                                           Returns                                                            ||
|----------------------------------------------------------------------------------------------------------------------|--------|
| [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder) | <br /> |

### fling

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean fling (int velocityX, 
                int velocityY)
```

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 method will return false and no fling will occur.

<br />

|                                 Parameters                                  ||
|-------------|----------------------------------------------------------------|
| `velocityX` | `int`: Initial horizontal velocity in pixels per second <br /> |
| `velocityY` | `int`: Initial vertical velocity in pixels per second <br />   |

|                                                                               Returns                                                                                ||
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------------|
| `boolean` | true if the fling was started, false if the velocity was too low to fling or LayoutManager does not support scrolling in the axis fling is issued. <br /> |

**See also:**

- [canScrollVertically()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#canScrollVertically())
- [canScrollHorizontally()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#canScrollHorizontally())  

### focusSearch

```
View focusSearch (View focused, 
                int direction)
```

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 more involved focus search strategy that differs from other ViewGroups.

It first does a focus search within the RecyclerView. If this search finds a View that is in the focus direction with respect to the currently focused View, RecyclerView returns that child as the next focus target. When it cannot find such child, it calls[onFocusSearchFailed(View, int, Recycler, State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#onFocusSearchFailed(android.view.View, int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State))to layout more Views in the focus search direction. If LayoutManager adds a View that matches the focus search criteria, it will be returned as the focus search result. Otherwise, RecyclerView will call parent to handle the focus search like a regular ViewGroup.

When the direction is[FOCUS_FORWARD](https://developer.android.com/reference/android/view/View.html#FOCUS_FORWARD)or[FOCUS_BACKWARD](https://developer.android.com/reference/android/view/View.html#FOCUS_BACKWARD), a View that is not in the focus direction is still valid focus target which may not be the desired behavior if the Adapter has more children in the focus direction. To handle this case, RecyclerView converts the focus direction to an absolute direction and makes a preliminary focus search in that direction. If there are no Views to gain focus, it will call[onFocusSearchFailed(View, int, Recycler, State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#onFocusSearchFailed(android.view.View, int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State))before running a focus search with the original (relative) direction. This allows RecyclerView to provide better candidates to the focus search while still allowing the view system to take focus from the RecyclerView and give it to a more suitable child if such child exists.

<br />

|                                                                                                                                                                                                                                                                                                      Parameters                                                                                                                                                                                                                                                                                                      ||
|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `focused`   | `View`: The view that currently has focus <br />                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        |
| `direction` | `int`: One of[FOCUS_UP](https://developer.android.com/reference/android/view/View.html#FOCUS_UP),[FOCUS_DOWN](https://developer.android.com/reference/android/view/View.html#FOCUS_DOWN),[FOCUS_LEFT](https://developer.android.com/reference/android/view/View.html#FOCUS_LEFT),[FOCUS_RIGHT](https://developer.android.com/reference/android/view/View.html#FOCUS_RIGHT),[FOCUS_FORWARD](https://developer.android.com/reference/android/view/View.html#FOCUS_FORWARD),[FOCUS_BACKWARD](https://developer.android.com/reference/android/view/View.html#FOCUS_BACKWARD)or 0 for not applicable. <br /> |

|                                                                   Returns                                                                   ||
|------------------------------------------------------------------------|---------------------------------------------------------------------|
| [View](https://developer.android.com/reference/android/view/View.html) | A new View that can be the next focus after the focused View <br /> |

### generateLayoutParams

```
ViewGroup.LayoutParams generateLayoutParams (AttributeSet attrs)
```

<br />

<br />

|           Parameters           ||
|---------|-----------------------|
| `attrs` | `AttributeSet` <br /> |

|                                                      Returns                                                       ||
|------------------------------------------------------------------------------------------------------------|--------|
| [ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | <br /> |

### getAdapter

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
Adapter getAdapter ()
```

Retrieves the previously set adapter or null if no adapter is set.

<br />

|                                                               Returns                                                                ||
|---------------------------------------------------------------------------------------------------|-----------------------------------|
| [Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter) | The previously set adapter <br /> |

**See also:**

- [setAdapter(Adapter)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setAdapter(android.support.v7.widget.RecyclerView.Adapter))  

### getBaseline

```
int getBaseline ()
```

<br />

Return the offset of the RecyclerView's text baseline from the its top boundary. If the LayoutManager of this RecyclerView does not support baseline alignment, this method returns -1.

<br />

<br />

|                                                        Returns                                                         ||
|-------|-----------------------------------------------------------------------------------------------------------------|
| `int` | the offset of the baseline within the RecyclerView's bounds or -1 if baseline alignment is not supported <br /> |

### getChildAdapterPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getChildAdapterPosition (View child)
```

Return the adapter position that the given child view corresponds to.

<br />

|                 Parameters                  ||
|---------|------------------------------------|
| `child` | `View`: Child View to query <br /> |

|                                                                                  Returns                                                                                   ||
|-------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | Adapter position corresponding to the given view or[NO_POSITION](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#NO_POSITION) <br /> |

### getChildItemId

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
long getChildItemId (View child)
```

Return the stable item id that the given child view corresponds to.

<br />

|                 Parameters                  ||
|---------|------------------------------------|
| `child` | `View`: Child View to query <br /> |

|                                                                        Returns                                                                         ||
|--------|------------------------------------------------------------------------------------------------------------------------------------------------|
| `long` | Item id corresponding to the given view or[NO_ID](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#NO_ID) <br /> |

### getChildLayoutPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getChildLayoutPosition (View child)
```

Return the adapter position of the given child view as of the latest completed layout pass.

This position may not be equal to Item's adapter position if there are pending changes in the adapter which have not been reflected to the layout yet.

<br />

|                 Parameters                  ||
|---------|------------------------------------|
| `child` | `View`: Child View to query <br /> |

|                                                                                                            Returns                                                                                                             ||
|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | Adapter position of the given View as of last layout pass or[NO_POSITION](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#NO_POSITION)if the View is representing a removed item. <br /> |

### getChildPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getChildPosition (View child)
```

<br />

**This method was deprecated in API level 22.1.0.**   
use[getChildAdapterPosition(View)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildAdapterPosition(android.view.View))or[getChildLayoutPosition(View)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getChildLayoutPosition(android.view.View)).

<br />

<br />

|       Parameters       ||
|---------|---------------|
| `child` | `View` <br /> |

|    Returns    ||
|-------|--------|
| `int` | <br /> |

### getChildViewHolder

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ViewHolder getChildViewHolder (View child)
```

Retrieve the[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)for the given child view.

<br />

|                                   Parameters                                   ||
|---------|-----------------------------------------------------------------------|
| `child` | `View`: Child of this RecyclerView to query for its ViewHolder <br /> |

|                                                                         Returns                                                                          ||
|----------------------------------------------------------------------------------------------------------------------|------------------------------------|
| [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder) | The child view's ViewHolder <br /> |

### getClipToPadding

```
boolean 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 present.

By default, children are clipped to the padding of their parent RecyclerView. This clipping behavior is only enabled if padding is non-zero.

<br />

|                                                                            Returns                                                                             ||
|-----------|-----------------------------------------------------------------------------------------------------------------------------------------------------|
| `boolean` | true if this RecyclerView clips children to its padding and resizes (but doesn't clip) any EdgeEffect to the padded region, false otherwise. <br /> |

### getCompatAccessibilityDelegate

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerViewAccessibilityDelegate getCompatAccessibilityDelegate ()
```

Returns the accessibility delegate compatibility implementation used by the RecyclerView.

<br />

|                                                                                                     Returns                                                                                                      ||
|------------------------------------------------------------------------------------------------------------------------------------------|------------------------------------------------------------------------|
| [RecyclerViewAccessibilityDelegate](https://developer.android.com/reference/android/support/v7/widget/RecyclerViewAccessibilityDelegate) | An instance of AccessibilityDelegateCompat used by RecyclerView <br /> |

### getDecoratedBoundsWithMargins

added in[version 25.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void getDecoratedBoundsWithMargins (View view, 
                Rect outBounds)
```

Returns the bounds of the view including its decoration and margins.

<br />

|                                                      Parameters                                                      ||
|-------------|---------------------------------------------------------------------------------------------------------|
| `view`      | `View`: The view element to check <br />                                                                |
| `outBounds` | `Rect`: A rect that will receive the bounds of the element including its decoration and margins. <br /> |

### getEdgeEffectFactory

added in[version 27.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.EdgeEffectFactory getEdgeEffectFactory ()
```

Retrieves the previously set[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)or the default factory if nothing was set.

<br />

|                                                                                                                                             Returns                                                                                                                                             ||
|------------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory) | The previously set[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory) <br /> |

**See also:**

- [setEdgeEffectFactory(EdgeEffectFactory)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setEdgeEffectFactory(android.support.v7.widget.RecyclerView.EdgeEffectFactory))  

### getItemAnimator

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ItemAnimator 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 any animations. By default, RecyclerView instantiates and uses an instance of[DefaultItemAnimator](https://developer.android.com/reference/android/support/v7/widget/DefaultItemAnimator).

<br />

|                                                                                                                             Returns                                                                                                                             ||
|--------------------------------------------------------------------------------------------------------------------------|---------------------------------------------------------------------------------------------------------------------------------------|
| [RecyclerView.ItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator) | ItemAnimator The current ItemAnimator. If null, no animations will occur when changes occur to the items in this RecyclerView. <br /> |

### getItemDecorationAt

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.ItemDecoration getItemDecorationAt (int index)
```

Returns an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)previously added to this RecyclerView.

<br />

|                                Parameters                                ||
|---------|-----------------------------------------------------------------|
| `index` | `int`: The index position of the desired ItemDecoration. <br /> |

|                                                                                  Returns                                                                                  ||
|------------------------------------------------------------------------------------------------------------------------------|---------------------------------------------|
| [RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration) | the ItemDecoration at index position <br /> |

|                    Throws                     ||
|-----------------------------|------------------|
| `IndexOutOfBoundsException` | on invalid index |

### getItemDecorationCount

added in[version 27.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getItemDecorationCount ()
```

Returns the number of[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)currently added to this RecyclerView.

<br />

|                                       Returns                                       ||
|-------|------------------------------------------------------------------------------|
| `int` | number of ItemDecorations currently added added to this RecyclerView. <br /> |

### getLayoutManager

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.LayoutManager getLayoutManager ()
```

Return the[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)currently responsible for layout policy for this RecyclerView.

<br />

|                                                                               Returns                                                                                ||
|----------------------------------------------------------------------------------------------------------------------------|------------------------------------------|
| [RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager) | The currently bound LayoutManager <br /> |

### getMaxFlingVelocity

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getMaxFlingVelocity ()
```

Returns the maximum fling velocity used by this RecyclerView.

<br />

|                               Returns                               ||
|-------|--------------------------------------------------------------|
| `int` | The maximum fling velocity used by this RecyclerView. <br /> |

### getMinFlingVelocity

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getMinFlingVelocity ()
```

Returns the minimum velocity to start a fling.

<br />

|                       Returns                       ||
|-------|----------------------------------------------|
| `int` | The minimum velocity to start a fling <br /> |

### getOnFlingListener

added in[version 25.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.OnFlingListener getOnFlingListener ()
```

Get the current[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)from this[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView).

<br />

|                                                                                                                                                    Returns                                                                                                                                                    ||
|--------------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| [RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener) | The[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)instance currently set (can be null). <br /> |

### getPreserveFocusAfterLayout

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean 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 during a layout calculation.

By default, this value is`true`.

<br />

|                                                    Returns                                                     ||
|-----------|-----------------------------------------------------------------------------------------------------|
| `boolean` | True if the RecyclerView will try to preserve focused Item after a layout if it loses focus. <br /> |

**See also:**

- [setPreserveFocusAfterLayout(boolean)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setPreserveFocusAfterLayout(boolean))  

### getRecycledViewPool

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
RecyclerView.RecycledViewPool getRecycledViewPool ()
```

Retrieve this RecyclerView's[RecyclerView.RecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool). This method will never return null; if no pool is set for this view a new one will be created. See[setRecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setRecycledViewPool(android.support.v7.widget.RecyclerView.RecycledViewPool))for more information.

<br />

|                                                                                            Returns                                                                                             ||
|----------------------------------------------------------------------------------------------------------------------------------|--------------------------------------------------------------|
| [RecyclerView.RecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool) | The pool used to store recycled item views for reuse. <br /> |

**See also:**

- [setRecycledViewPool(RecycledViewPool)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setRecycledViewPool(android.support.v7.widget.RecyclerView.RecycledViewPool))  

### getScrollState

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
int getScrollState ()
```

Return the current scrolling state of the RecyclerView.

<br />

|                                                                                                                                                                                             Returns                                                                                                                                                                                              ||
|-------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `int` | [SCROLL_STATE_IDLE](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_IDLE),[SCROLL_STATE_DRAGGING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_DRAGGING)or[SCROLL_STATE_SETTLING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_SETTLING) <br /> |

### hasFixedSize

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean hasFixedSize ()
```

<br />

<br />

|                                                              Returns                                                               ||
|-----------|-------------------------------------------------------------------------------------------------------------------------|
| `boolean` | true if the app has specified that changes in adapter content cannot change the size of the RecyclerView itself. <br /> |

### hasNestedScrollingParent

```
boolean hasNestedScrollingParent ()
```

<br />

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### hasNestedScrollingParent

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean hasNestedScrollingParent (int type)
```

Returns true if this view has a nested scrolling parent for the given input type.

The presence of a nested scrolling parent indicates that this view has initiated a nested scroll and it was accepted by an ancestor view further up the view hierarchy.

<br />

<br />

|                              Parameters                               ||
|--------|---------------------------------------------------------------|
| `type` | `int`: the type of input which cause this scroll event <br /> |

|                              Returns                              ||
|-----------|--------------------------------------------------------|
| `boolean` | whether this view has a nested scrolling parent <br /> |

### hasPendingAdapterUpdates

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean hasPendingAdapterUpdates ()
```

Returns whether there are pending adapter updates which are not yet applied to the layout.

If this method returns`true`, it means that what user is currently seeing may not reflect them adapter contents (depending on what has changed). You may use this information to defer or cancel some operations.

This method returns true if RecyclerView has not yet calculated the first layout after it is attached to the Window or the Adapter has been replaced.

<br />

|                                                             Returns                                                              ||
|-----------|-----------------------------------------------------------------------------------------------------------------------|
| `boolean` | True if there are some adapter updates which are not yet reflected to layout or false if layout is up to date. <br /> |

### invalidateItemDecorations

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void invalidateItemDecorations ()
```

Invalidates all ItemDecorations. If RecyclerView has item decorations, calling this method will trigger a[requestLayout()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#requestLayout())call.

<br />

### isAnimating

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean isAnimating ()
```

Returns true if RecyclerView is currently running some animations.

If you want to be notified when animations are finished, use[isRunning(ItemAnimator.ItemAnimatorFinishedListener)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator#isRunning(android.support.v7.widget.RecyclerView.ItemAnimator.ItemAnimatorFinishedListener)).

<br />

|                                               Returns                                                ||
|-----------|-------------------------------------------------------------------------------------------|
| `boolean` | True if there are some item animations currently running or waiting to be started. <br /> |

### isAttachedToWindow

```
boolean isAttachedToWindow ()
```

Returns true if RecyclerView is attached to window.

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### isComputingLayout

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean isComputingLayout ()
```

Returns whether RecyclerView is currently computing a layout.

If this method returns true, it means that RecyclerView is in a lockdown state and any attempt to update adapter contents will result in an exception because adapter contents cannot be changed while RecyclerView is trying to compute the layout.

It is very unlikely that your code will be running during this state as it is called by the framework when a layout traversal happens or RecyclerView starts to scroll in response to system events (touch, accessibility etc).

This case may happen if you have some custom logic to change adapter contents in response to a View callback (e.g. focus change callback) which might be triggered during a layout calculation. In these cases, you should just postpone the change using a Handler or a similar mechanism.

<br />

|                                         Returns                                          ||
|-----------|-------------------------------------------------------------------------------|
| `boolean` | `true`if RecyclerView is currently computing a layout,`false`otherwise <br /> |

### isLayoutFrozen

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean isLayoutFrozen ()
```

Returns true if layout and scroll are frozen.

<br />

|                        Returns                         ||
|-----------|---------------------------------------------|
| `boolean` | true if layout and scroll are frozen <br /> |

**See also:**

- [setLayoutFrozen(boolean)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setLayoutFrozen(boolean))  

### isNestedScrollingEnabled

```
boolean isNestedScrollingEnabled ()
```

<br />

<br />

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### offsetChildrenHorizontal

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void offsetChildrenHorizontal (int dx)
```

Offset the bounds of all child views by`dx`pixels. Useful for implementing simple scrolling in[LayoutManagers](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager).

<br />

|                                      Parameters                                       ||
|------|---------------------------------------------------------------------------------|
| `dx` | `int`: Horizontal pixel offset to apply to the bounds of all child views <br /> |

### offsetChildrenVertical

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void offsetChildrenVertical (int dy)
```

Offset the bounds of all child views by`dy`pixels. Useful for implementing simple scrolling in[LayoutManagers](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager).

<br />

|                                     Parameters                                      ||
|------|-------------------------------------------------------------------------------|
| `dy` | `int`: Vertical pixel offset to apply to the bounds of all child views <br /> |

### onChildAttachedToWindow

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onChildAttachedToWindow (View child)
```

Called when an item view is attached to this RecyclerView.

Subclasses of RecyclerView may want to perform extra bookkeeping or modifications of child views as they become attached. This will be called before a[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)measures or lays out the view and is a good time to perform these changes.

<br />

<br />

|                                               Parameters                                               ||
|---------|-----------------------------------------------------------------------------------------------|
| `child` | `View`: Child view that is now attached to this RecyclerView and its associated window <br /> |

### onChildDetachedFromWindow

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onChildDetachedFromWindow (View child)
```

Called when an item view is detached from this RecyclerView.

Subclasses of RecyclerView may want to perform extra bookkeeping or modifications of child views as they become detached. This will be called as a[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)fully detaches the child view from the parent and its window.

<br />

<br />

|                                                Parameters                                                ||
|---------|-------------------------------------------------------------------------------------------------|
| `child` | `View`: Child view that is now detached from this RecyclerView and its associated window <br /> |

### onDraw

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onDraw (Canvas c)
```

<br />

<br />

|      Parameters      ||
|-----|-----------------|
| `c` | `Canvas` <br /> |

### onGenericMotionEvent

```
boolean onGenericMotionEvent (MotionEvent event)
```

<br />

<br />

|          Parameters           ||
|---------|----------------------|
| `event` | `MotionEvent` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### onInterceptTouchEvent

```
boolean onInterceptTouchEvent (MotionEvent e)
```

<br />

<br />

|        Parameters         ||
|-----|----------------------|
| `e` | `MotionEvent` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### onScrollStateChanged

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onScrollStateChanged (int state)
```

Called when the scroll state of this RecyclerView changes. Subclasses should use this method to respond to state changes instead of an explicit listener.

This method will always be invoked before listeners, but after the LayoutManager responds to the scroll state change.

<br />

<br />

|                                                                                                                                                                                                              Parameters                                                                                                                                                                                                               ||
|---------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `state` | `int`: the new scroll state, one of[SCROLL_STATE_IDLE](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_IDLE),[SCROLL_STATE_DRAGGING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_DRAGGING)or[SCROLL_STATE_SETTLING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#SCROLL_STATE_SETTLING) <br /> |

### onScrolled

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onScrolled (int dx, 
                int dy)
```

Called when the scroll position of this RecyclerView changes. Subclasses should use this method to respond to scrolling within the adapter's data set instead of an explicit listener.

This method will always be invoked before listeners. If a subclass needs to perform any additional upkeep or bookkeeping after scrolling but before listeners run, this is a good place to do so.

This differs from[onScrollChanged(int, int, int, int)](https://developer.android.com/reference/android/view/View.html#onScrollChanged(int, int, int, int))in that it receives the distance scrolled in either direction within the adapter's data set instead of absolute scroll coordinates. Since RecyclerView cannot compute the absolute scroll position from any arbitrary point in the data set,`onScrollChanged`will always receive the current[getScrollX()](https://developer.android.com/reference/android/view/View.html#getScrollX())and[getScrollY()](https://developer.android.com/reference/android/view/View.html#getScrollY())values which do not correspond to the data set scroll position. However, some subclasses may choose to use these fields as special offsets.

<br />

<br />

|                         Parameters                         ||
|------|------------------------------------------------------|
| `dx` | `int`: horizontal distance scrolled in pixels <br /> |
| `dy` | `int`: vertical distance scrolled in pixels <br />   |

### onTouchEvent

```
boolean onTouchEvent (MotionEvent e)
```

<br />

<br />

|        Parameters         ||
|-----|----------------------|
| `e` | `MotionEvent` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### removeItemDecoration

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeItemDecoration (RecyclerView.ItemDecoration decor)
```

Remove an[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)from this RecyclerView.

The given decoration will no longer impact the measurement and drawing of item views.

<br />

<br />

|                             Parameters                              ||
|---------|------------------------------------------------------------|
| `decor` | `RecyclerView.ItemDecoration`: Decoration to remove <br /> |

**See also:**

- [addItemDecoration(ItemDecoration)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addItemDecoration(android.support.v7.widget.RecyclerView.ItemDecoration))  

### removeItemDecorationAt

added in[version 27.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeItemDecorationAt (int index)
```

Removes the[RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)associated with the supplied index position.

<br />

|                                   Parameters                                   ||
|---------|-----------------------------------------------------------------------|
| `index` | `int`: The index position of the ItemDecoration to be removed. <br /> |

### removeOnChildAttachStateChangeListener

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeOnChildAttachStateChangeListener (RecyclerView.OnChildAttachStateChangeListener listener)
```

Removes the provided listener from child attached state listeners list.

<br />

|                                         Parameters                                         ||
|------------|--------------------------------------------------------------------------------|
| `listener` | `RecyclerView.OnChildAttachStateChangeListener`: Listener to unregister <br /> |

### removeOnItemTouchListener

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeOnItemTouchListener (RecyclerView.OnItemTouchListener listener)
```

Remove an[RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener). It will no longer be able to intercept touch events.

<br />

|                                Parameters                                 ||
|------------|---------------------------------------------------------------|
| `listener` | `RecyclerView.OnItemTouchListener`: Listener to remove <br /> |

### removeOnScrollListener

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void removeOnScrollListener (RecyclerView.OnScrollListener listener)
```

Remove a listener that was notified of any changes in scroll state or position.

<br />

|                                      Parameters                                      ||
|------------|--------------------------------------------------------------------------|
| `listener` | `RecyclerView.OnScrollListener`: listener to set or null to clear <br /> |

### requestChildFocus

```
void requestChildFocus (View child, 
                View focused)
```

<br />

<br />

|        Parameters        ||
|-----------|---------------|
| `child`   | `View` <br /> |
| `focused` | `View` <br /> |

### requestChildRectangleOnScreen

```
boolean requestChildRectangleOnScreen (View child, 
                Rect rect, 
                boolean immediate)
```

<br />

<br />

|          Parameters           ||
|-------------|------------------|
| `child`     | `View` <br />    |
| `rect`      | `Rect` <br />    |
| `immediate` | `boolean` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### requestDisallowInterceptTouchEvent

```
void requestDisallowInterceptTouchEvent (boolean disallowIntercept)
```

<br />

<br />

|              Parameters               ||
|---------------------|------------------|
| `disallowIntercept` | `boolean` <br /> |

### requestLayout

```
void requestLayout ()
```

<br />

<br />

### scrollBy

```
void scrollBy (int x, 
                int y)
```

<br />

<br />

|    Parameters     ||
|-----|--------------|
| `x` | `int` <br /> |
| `y` | `int` <br /> |

### scrollTo

```
void scrollTo (int x, 
                int y)
```

<br />

<br />

|    Parameters     ||
|-----|--------------|
| `x` | `int` <br /> |
| `y` | `int` <br /> |

### scrollToPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void scrollToPosition (int position)
```

Convenience method to scroll to a certain position. RecyclerView does not implement scrolling logic, rather forwards the call to[scrollToPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#scrollToPosition(int))

<br />

|                        Parameters                         ||
|------------|-----------------------------------------------|
| `position` | `int`: Scroll to this adapter position <br /> |

**See also:**

- [scrollToPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#scrollToPosition(int))  

### sendAccessibilityEventUnchecked

```
void sendAccessibilityEventUnchecked (AccessibilityEvent event)
```

<br />

<br />

|              Parameters              ||
|---------|-----------------------------|
| `event` | `AccessibilityEvent` <br /> |

### setAccessibilityDelegateCompat

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setAccessibilityDelegateCompat (RecyclerViewAccessibilityDelegate accessibilityDelegate)
```

Sets the accessibility delegate compatibility implementation used by RecyclerView.

<br />

|                                                         Parameters                                                          ||
|-------------------------|----------------------------------------------------------------------------------------------------|
| `accessibilityDelegate` | `RecyclerViewAccessibilityDelegate`: The accessibility delegate to be used by RecyclerView. <br /> |

### setAdapter

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setAdapter (Adapter adapter)
```

Set a new adapter to provide child views on demand.

When adapter is changed, all existing views are recycled back to the pool. If the pool has only one adapter, it will be cleared.

<br />

|                                   Parameters                                    ||
|-----------|----------------------------------------------------------------------|
| `adapter` | `Adapter`: The new adapter to set, or null to set no adapter. <br /> |

**See also:**

- [swapAdapter(Adapter, boolean)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#swapAdapter(android.support.v7.widget.RecyclerView.Adapter, boolean))  

### setChildDrawingOrderCallback

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setChildDrawingOrderCallback (RecyclerView.ChildDrawingOrderCallback childDrawingOrderCallback)
```

Sets the[RecyclerView.ChildDrawingOrderCallback](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ChildDrawingOrderCallback)to be used for drawing children.

See[getChildDrawingOrder(int, int)](https://developer.android.com/reference/android/view/ViewGroup.html#getChildDrawingOrder(int, int))for details. Calling this method will always call[setChildrenDrawingOrderEnabled(boolean)](https://developer.android.com/reference/android/view/ViewGroup.html#setChildrenDrawingOrderEnabled(boolean)). The parameter will be true if childDrawingOrderCallback is not null, false otherwise.

Note that child drawing order may be overridden by View's elevation.

<br />

|                                                                  Parameters                                                                   ||
|-----------------------------|------------------------------------------------------------------------------------------------------------------|
| `childDrawingOrderCallback` | `RecyclerView.ChildDrawingOrderCallback`: The ChildDrawingOrderCallback to be used by the drawing system. <br /> |

### setClipToPadding

```
void setClipToPadding (boolean clipToPadding)
```

<br />

<br />

|            Parameters             ||
|-----------------|------------------|
| `clipToPadding` | `boolean` <br /> |

### setEdgeEffectFactory

added in[version 27.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setEdgeEffectFactory (RecyclerView.EdgeEffectFactory edgeEffectFactory)
```

Set a[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)for this[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView).

When a new[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)is set, any existing over-scroll effects are cleared and new effects are created as needed using[createEdgeEffect(RecyclerView, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory#createEdgeEffect(android.support.v7.widget.RecyclerView, int))

<br />

|                                                                                                  Parameters                                                                                                  ||
|---------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `edgeEffectFactory` | `RecyclerView.EdgeEffectFactory`: The[RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)instance. <br /> |

### setHasFixedSize

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setHasFixedSize (boolean hasFixedSize)
```

RecyclerView can perform several optimizations if it can know in advance that RecyclerView's size is not affected by the adapter contents. RecyclerView can still change its size based on other factors (e.g. its parent's size) but this size calculation cannot depend on the size of its children or contents of its adapter (except the number of items in the adapter).

If your use of RecyclerView falls into this category, set this to`true`. It will allow RecyclerView to avoid invalidating the whole layout when its adapter contents change.

<br />

|                                              Parameters                                               ||
|----------------|---------------------------------------------------------------------------------------|
| `hasFixedSize` | `boolean`: true if adapter changes cannot affect the size of the RecyclerView. <br /> |

### setItemAnimator

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setItemAnimator (RecyclerView.ItemAnimator animator)
```

Sets the[RecyclerView.ItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator)that will handle animations involving changes to the items in this RecyclerView. By default, RecyclerView instantiates and uses an instance of[DefaultItemAnimator](https://developer.android.com/reference/android/support/v7/widget/DefaultItemAnimator). Whether item animations are enabled for the RecyclerView depends on the ItemAnimator and whether the LayoutManager[supports item animations](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#supportsPredictiveItemAnimations()).

<br />

|                                                                             Parameters                                                                              ||
|------------|---------------------------------------------------------------------------------------------------------------------------------------------------------|
| `animator` | `RecyclerView.ItemAnimator`: The ItemAnimator being set. If null, no animations will occur when changes occur to the items in this RecyclerView. <br /> |

### setItemViewCacheSize

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setItemViewCacheSize (int size)
```

Set the number of offscreen views to retain before adding them to the potentially shared[recycled view pool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getRecycledViewPool()).

The offscreen view cache stays aware of changes in the attached adapter, allowing a LayoutManager to reuse those views unmodified without needing to return to the adapter to rebind them.

<br />

<br />

|                                                    Parameters                                                    ||
|--------|----------------------------------------------------------------------------------------------------------|
| `size` | `int`: Number of views to cache offscreen before returning them to the general recycled view pool <br /> |

### setLayoutFrozen

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setLayoutFrozen (boolean frozen)
```

Enable or disable layout and scroll. After`setLayoutFrozen(true)`is called, Layout requests will be postponed until`setLayoutFrozen(false)`is called; child views are not updated when RecyclerView is frozen,[smoothScrollBy(int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#smoothScrollBy(int, int)),[scrollBy(int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#scrollBy(int, int)),[scrollToPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#scrollToPosition(int))and[smoothScrollToPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#smoothScrollToPosition(int))are dropped; TouchEvents and GenericMotionEvents are dropped;[onFocusSearchFailed(View, int, Recycler, State)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#onFocusSearchFailed(android.view.View, int, android.support.v7.widget.RecyclerView.Recycler, android.support.v7.widget.RecyclerView.State))will not be called.

`setLayoutFrozen(true)`does not prevent app from directly calling[scrollToPosition(int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#scrollToPosition(int)),[smoothScrollToPosition(RecyclerView, State, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int)).

[setAdapter(Adapter)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setAdapter(android.support.v7.widget.RecyclerView.Adapter))and[swapAdapter(Adapter, boolean)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#swapAdapter(android.support.v7.widget.RecyclerView.Adapter, boolean))will automatically stop frozen.

Note: Running ItemAnimator is not stopped automatically, it's caller's responsibility to call ItemAnimator.end().

<br />

|                                    Parameters                                     ||
|----------|-------------------------------------------------------------------------|
| `frozen` | `boolean`: true to freeze layout and scroll, false to re-enable. <br /> |

### setLayoutManager

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setLayoutManager (RecyclerView.LayoutManager layout)
```

Set the[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)that this RecyclerView will use.

In contrast to other adapter-backed views such as[ListView](https://developer.android.com/reference/android/widget/ListView.html)or[GridView](https://developer.android.com/reference/android/widget/GridView.html), RecyclerView allows client code to provide custom layout arrangements for child views. These arrangements are controlled by the[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager). A LayoutManager must be provided for RecyclerView to function.

Several default strategies are provided for common uses such as lists and grids.

<br />

<br />

|                             Parameters                              ||
|----------|-----------------------------------------------------------|
| `layout` | `RecyclerView.LayoutManager`: LayoutManager to use <br /> |

### setNestedScrollingEnabled

```
void setNestedScrollingEnabled (boolean enabled)
```

<br />

<br />

|         Parameters          ||
|-----------|------------------|
| `enabled` | `boolean` <br /> |

### setOnFlingListener

added in[version 25.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setOnFlingListener (RecyclerView.OnFlingListener onFlingListener)
```

Set a[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)for this[RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView).

If the[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)is set then it will receive calls to[fling(int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#fling(int, int))and will be able to intercept them.

<br />

|                                                                                              Parameters                                                                                              ||
|-------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `onFlingListener` | `RecyclerView.OnFlingListener`: The[RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)instance. <br /> |

### setOnScrollListener

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setOnScrollListener (RecyclerView.OnScrollListener listener)
```

<br />

**This method was deprecated in API level 22.1.0.**   
Use[addOnScrollListener(OnScrollListener)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#addOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener))and[removeOnScrollListener(OnScrollListener)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#removeOnScrollListener(android.support.v7.widget.RecyclerView.OnScrollListener))

Set a listener that will be notified of any changes in scroll state or position.

<br />

|                                      Parameters                                      ||
|------------|--------------------------------------------------------------------------|
| `listener` | `RecyclerView.OnScrollListener`: Listener to set or null to clear <br /> |

### setPreserveFocusAfterLayout

added in[version 24.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setPreserveFocusAfterLayout (boolean preserveFocusAfterLayout)
```

Set whether the RecyclerView should try to keep the same Item focused after a layout calculation or not.

Usually, LayoutManagers keep focused views visible before and after layout but sometimes, views may lose focus during a layout calculation as their state changes or they are replaced with another view due to type change or animation. In these cases, RecyclerView can request focus on the new view automatically.

<br />

|                                                                   Parameters                                                                    ||
|----------------------------|---------------------------------------------------------------------------------------------------------------------|
| `preserveFocusAfterLayout` | `boolean`: Whether RecyclerView should preserve focused Item during a layout calculations. Defaults to true. <br /> |

**See also:**

- [getPreserveFocusAfterLayout()](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#getPreserveFocusAfterLayout())  

### setRecycledViewPool

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setRecycledViewPool (RecyclerView.RecycledViewPool pool)
```

Recycled view pools allow multiple RecyclerViews to share a common pool of scrap views. This can be useful if you have multiple RecyclerViews with adapters that use the same view types, for example if you have several data sets with the same kinds of item views displayed by a[ViewPager](https://developer.android.com/reference/android/support/v4/view/ViewPager).

<br />

|                                                         Parameters                                                          ||
|--------|---------------------------------------------------------------------------------------------------------------------|
| `pool` | `RecyclerView.RecycledViewPool`: Pool to set. If this parameter is null a new pool will be created and used. <br /> |

### setRecyclerListener

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setRecyclerListener (RecyclerView.RecyclerListener listener)
```

Register a listener that will be notified whenever a child view is recycled.

This listener will be called when a LayoutManager or the RecyclerView decides that a child view is no longer needed. If an application associates expensive or heavyweight data with item views, this may be a good place to release or free those resources.

<br />

<br />

|                                         Parameters                                         ||
|------------|--------------------------------------------------------------------------------|
| `listener` | `RecyclerView.RecyclerListener`: Listener to register, or null to clear <br /> |

### setScrollingTouchSlop

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setScrollingTouchSlop (int slopConstant)
```

Configure the scrolling touch slop for a specific use case. Set up the RecyclerView's scrolling motion threshold based on common usages. Valid arguments are[TOUCH_SLOP_DEFAULT](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#TOUCH_SLOP_DEFAULT)and[TOUCH_SLOP_PAGING](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#TOUCH_SLOP_PAGING).

<br />

|                                                     Parameters                                                      ||
|----------------|-----------------------------------------------------------------------------------------------------|
| `slopConstant` | `int`: One of the`TOUCH_SLOP_`constants representing the intended usage of this RecyclerView <br /> |

### setViewCacheExtension

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void setViewCacheExtension (RecyclerView.ViewCacheExtension extension)
```

Sets a new[RecyclerView.ViewCacheExtension](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewCacheExtension)to be used by the Recycler.

<br />

|                                                             Parameters                                                              ||
|-------------|------------------------------------------------------------------------------------------------------------------------|
| `extension` | `RecyclerView.ViewCacheExtension`: ViewCacheExtension to be used or null if you want to clear the existing one. <br /> |

**See also:**

- [getViewForPositionAndType(Recycler, int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewCacheExtension#getViewForPositionAndType(android.support.v7.widget.RecyclerView.Recycler, int, int))  

### smoothScrollBy

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void smoothScrollBy (int dx, 
                int dy)
```

Animate a scroll by the given amount of pixels along either axis.

<br />

|                    Parameters                     ||
|------|---------------------------------------------|
| `dx` | `int`: Pixels to scroll horizontally <br /> |
| `dy` | `int`: Pixels to scroll vertically <br />   |

### smoothScrollBy

added in[version 25.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void smoothScrollBy (int dx, 
                int dy, 
                Interpolator interpolator)
```

Animate a scroll by the given amount of pixels along either axis.

<br />

|                                                                                                               Parameters                                                                                                               ||
|----------------|------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `dx`           | `int`: Pixels to scroll horizontally <br />                                                                                                                                                                            |
| `dy`           | `int`: Pixels to scroll vertically <br />                                                                                                                                                                              |
| `interpolator` | `Interpolator`:[Interpolator](https://developer.android.com/reference/android/view/animation/Interpolator.html)to be used for scrolling. If it is`null`, RecyclerView is going to use the default interpolator. <br /> |

### smoothScrollToPosition

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void smoothScrollToPosition (int position)
```

Starts a smooth scroll to an adapter position.

To support smooth scrolling, you must override[smoothScrollToPosition(RecyclerView, State, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int))and create a[RecyclerView.SmoothScroller](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SmoothScroller).

[RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)is responsible for creating the actual scroll action. If you want to provide a custom smooth scroll logic, override[smoothScrollToPosition(RecyclerView, State, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int))in your LayoutManager.

<br />

|                         Parameters                          ||
|------------|-------------------------------------------------|
| `position` | `int`: The adapter position to scroll to <br /> |

**See also:**

- [smoothScrollToPosition(RecyclerView, State, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager#smoothScrollToPosition(android.support.v7.widget.RecyclerView, android.support.v7.widget.RecyclerView.State, int))  

### startNestedScroll

```
boolean startNestedScroll (int axes)
```

<br />

<br />

|      Parameters      ||
|--------|--------------|
| `axes` | `int` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### startNestedScroll

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
boolean startNestedScroll (int axes, 
                int type)
```

Begin a nestable scroll operation along the given axes, for the given input type.

A view starting a nested scroll promises to abide by the following contract:

The view will call startNestedScroll upon initiating a scroll operation. In the case of a touch scroll type this corresponds to the initial[ACTION_DOWN](https://developer.android.com/reference/android/view/MotionEvent.html#ACTION_DOWN). In the case of touch scrolling the nested scroll will be terminated automatically in the same manner as[requestDisallowInterceptTouchEvent(boolean)](https://developer.android.com/reference/android/view/ViewParent.html#requestDisallowInterceptTouchEvent(boolean)). In the event of programmatic scrolling the caller must explicitly call[stopNestedScroll(int)](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#stopNestedScroll(int))to indicate the end of the nested scroll.

If`startNestedScroll`returns true, a cooperative parent was found. If it returns false the caller may ignore the rest of this contract until the next scroll. Calling startNestedScroll while a nested scroll is already in progress will return true.

At each incremental step of the scroll the caller should invoke[dispatchNestedPreScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#dispatchNestedPreScroll(int, int, int[], int[], int))once it has calculated the requested scrolling delta. If it returns true the nested scrolling parent at least partially consumed the scroll and the caller should adjust the amount it scrolls by.

After applying the remainder of the scroll delta the caller should invoke[dispatchNestedScroll](https://developer.android.com/reference/android/support/v4/view/NestedScrollingChild2#dispatchNestedScroll(int, int, int, int, int[], int)), passing both the delta consumed and the delta unconsumed. A nested scrolling parent may treat these values differently. See[onNestedScroll(View, int, int, int, int, int)](https://developer.android.com/reference/android/support/v4/view/NestedScrollingParent2#onNestedScroll(android.view.View, int, int, int, int, int)).

<br />

<br />

|                                                                                                                                                     Parameters                                                                                                                                                      ||
|--------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `axes` | `int`: Flags consisting of a combination of[SCROLL_AXIS_HORIZONTAL](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_AXIS_HORIZONTAL)and/or[SCROLL_AXIS_VERTICAL](https://developer.android.com/reference/android/support/v4/view/ViewCompat#SCROLL_AXIS_VERTICAL). <br /> |
| `type` | `int`: the type of input which cause this scroll event <br />                                                                                                                                                                                                                                               |

|                                                         Returns                                                         ||
|-----------|--------------------------------------------------------------------------------------------------------------|
| `boolean` | true if a cooperative parent was found and nested scrolling has been enabled for the current gesture. <br /> |

### stopNestedScroll

```
void stopNestedScroll ()
```

<br />

<br />

### stopNestedScroll

added in[version 26.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void stopNestedScroll (int type)
```

Stop a nested scroll in progress for the given input type.

Calling this method when a nested scroll is not currently in progress is harmless.

<br />

<br />

|                              Parameters                               ||
|--------|---------------------------------------------------------------|
| `type` | `int`: the type of input which cause this scroll event <br /> |

### stopScroll

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void stopScroll ()
```

Stop any current scroll in progress, such as one started by[smoothScrollBy(int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#smoothScrollBy(int, int)),[fling(int, int)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#fling(int, int))or a touch-initiated fling.

<br />

### swapAdapter

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void swapAdapter (Adapter adapter, 
                boolean removeAndRecycleExistingViews)
```

Swaps the current adapter with the provided one. It is similar to[setAdapter(Adapter)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setAdapter(android.support.v7.widget.RecyclerView.Adapter))but assumes existing adapter and the new adapter uses the same[RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)and does not clear the RecycledViewPool.

Note that it still calls onAdapterChanged callbacks.

<br />

|                                                                                                              Parameters                                                                                                              ||
|---------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| `adapter`                       | `Adapter`: The new adapter to set, or null to set no adapter. <br />                                                                                                                                |
| `removeAndRecycleExistingViews` | `boolean`: If set to true, RecyclerView will recycle all existing Views. If adapters have stable ids and/or you want to animate the disappearing views, you may prefer to set this to false. <br /> |

**See also:**

- [setAdapter(Adapter)](https://developer.android.com/reference/android/support/v7/widget/RecyclerView#setAdapter(android.support.v7.widget.RecyclerView.Adapter))

## Protected methods

### checkLayoutParams

```
boolean checkLayoutParams (ViewGroup.LayoutParams p)
```

<br />

<br />

|              Parameters              ||
|-----|---------------------------------|
| `p` | `ViewGroup.LayoutParams` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### dispatchRestoreInstanceState

```
void dispatchRestoreInstanceState (SparseArray<Parcelable> container)
```

Override to prevent thawing of any views created by the adapter.

<br />

|            Parameters             ||
|-------------|----------------------|
| `container` | `SparseArray` <br /> |

### dispatchSaveInstanceState

```
void dispatchSaveInstanceState (SparseArray<Parcelable> container)
```

Override to prevent freezing of any views created by the adapter.

<br />

|            Parameters             ||
|-------------|----------------------|
| `container` | `SparseArray` <br /> |

### generateDefaultLayoutParams

```
ViewGroup.LayoutParams generateDefaultLayoutParams ()
```

<br />

<br />

|                                                      Returns                                                       ||
|------------------------------------------------------------------------------------------------------------|--------|
| [ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | <br /> |

### generateLayoutParams

```
ViewGroup.LayoutParams generateLayoutParams (ViewGroup.LayoutParams p)
```

<br />

<br />

|              Parameters              ||
|-----|---------------------------------|
| `p` | `ViewGroup.LayoutParams` <br /> |

|                                                      Returns                                                       ||
|------------------------------------------------------------------------------------------------------------|--------|
| [ViewGroup.LayoutParams](https://developer.android.com/reference/android/view/ViewGroup.LayoutParams.html) | <br /> |

### getChildDrawingOrder

```
int getChildDrawingOrder (int childCount, 
                int i)
```

<br />

<br />

|         Parameters         ||
|--------------|--------------|
| `childCount` | `int` <br /> |
| `i`          | `int` <br /> |

|    Returns    ||
|-------|--------|
| `int` | <br /> |

### onAttachedToWindow

```
void onAttachedToWindow ()
```

<br />

<br />

### onDetachedFromWindow

```
void onDetachedFromWindow ()
```

<br />

<br />

### onLayout

added in[version 22.1.0](https://developer.android.com/topic/libraries/support-library/revisions)  

```
void onLayout (boolean changed, 
                int l, 
                int t, 
                int r, 
                int b)
```

<br />

<br />

|         Parameters          ||
|-----------|------------------|
| `changed` | `boolean` <br /> |
| `l`       | `int` <br />     |
| `t`       | `int` <br />     |
| `r`       | `int` <br />     |
| `b`       | `int` <br />     |

### onMeasure

```
void onMeasure (int widthSpec, 
                int heightSpec)
```

<br />

<br />

|         Parameters         ||
|--------------|--------------|
| `widthSpec`  | `int` <br /> |
| `heightSpec` | `int` <br /> |

### onRequestFocusInDescendants

```
boolean onRequestFocusInDescendants (int direction, 
                Rect previouslyFocusedRect)
```

<br />

<br />

|               Parameters               ||
|-------------------------|---------------|
| `direction`             | `int` <br />  |
| `previouslyFocusedRect` | `Rect` <br /> |

|      Returns      ||
|-----------|--------|
| `boolean` | <br /> |

### onRestoreInstanceState

```
void onRestoreInstanceState (Parcelable state)
```

<br />

<br />

|          Parameters          ||
|---------|---------------------|
| `state` | `Parcelable` <br /> |

### onSaveInstanceState

```
Parcelable onSaveInstanceState ()
```

<br />

<br />

|                                         Returns                                          ||
|----------------------------------------------------------------------------------|--------|
| [Parcelable](https://developer.android.com/reference/android/os/Parcelable.html) | <br /> |

### onSizeChanged

```
void onSizeChanged (int w, 
                int h, 
                int oldw, 
                int oldh)
```

<br />

<br />

|      Parameters      ||
|--------|--------------|
| `w`    | `int` <br /> |
| `h`    | `int` <br /> |
| `oldw` | `int` <br /> |
| `oldh` | `int` <br /> |

### removeDetachedView

```
void removeDetachedView (View child, 
                boolean animate)
```

<br />

<br />

|         Parameters          ||
|-----------|------------------|
| `child`   | `View` <br />    |
| `animate` | `boolean` <br /> |

-

  ## Annotations

  - [RecyclerView.EdgeEffectFactory.EdgeDirection](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory.EdgeDirection)
  - [RecyclerView.ItemAnimator.AdapterChanges](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator.AdapterChanges)
-

  ## Interfaces

  - [ActionMenuView.OnMenuItemClickListener](https://developer.android.com/reference/android/support/v7/widget/ActionMenuView.OnMenuItemClickListener)
  - [PopupMenu.OnDismissListener](https://developer.android.com/reference/android/support/v7/widget/PopupMenu.OnDismissListener)
  - [PopupMenu.OnMenuItemClickListener](https://developer.android.com/reference/android/support/v7/widget/PopupMenu.OnMenuItemClickListener)
  - [RecyclerView.ChildDrawingOrderCallback](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ChildDrawingOrderCallback)
  - [RecyclerView.ItemAnimator.ItemAnimatorFinishedListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator.ItemAnimatorFinishedListener)
  - [RecyclerView.LayoutManager.LayoutPrefetchRegistry](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager.LayoutPrefetchRegistry)
  - [RecyclerView.OnChildAttachStateChangeListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnChildAttachStateChangeListener)
  - [RecyclerView.OnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnItemTouchListener)
  - [RecyclerView.RecyclerListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecyclerListener)
  - [RecyclerView.SmoothScroller.ScrollVectorProvider](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SmoothScroller.ScrollVectorProvider)
  - [SearchView.OnCloseListener](https://developer.android.com/reference/android/support/v7/widget/SearchView.OnCloseListener)
  - [SearchView.OnQueryTextListener](https://developer.android.com/reference/android/support/v7/widget/SearchView.OnQueryTextListener)
  - [SearchView.OnSuggestionListener](https://developer.android.com/reference/android/support/v7/widget/SearchView.OnSuggestionListener)
  - [ShareActionProvider.OnShareTargetSelectedListener](https://developer.android.com/reference/android/support/v7/widget/ShareActionProvider.OnShareTargetSelectedListener)
  - [ThemedSpinnerAdapter](https://developer.android.com/reference/android/support/v7/widget/ThemedSpinnerAdapter)
  - [Toolbar.OnMenuItemClickListener](https://developer.android.com/reference/android/support/v7/widget/Toolbar.OnMenuItemClickListener)
-

  ## Classes

  - [ActionMenuView](https://developer.android.com/reference/android/support/v7/widget/ActionMenuView)
  - [ActionMenuView.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/ActionMenuView.LayoutParams)
  - [AppCompatAutoCompleteTextView](https://developer.android.com/reference/android/support/v7/widget/AppCompatAutoCompleteTextView)
  - [AppCompatButton](https://developer.android.com/reference/android/support/v7/widget/AppCompatButton)
  - [AppCompatCheckBox](https://developer.android.com/reference/android/support/v7/widget/AppCompatCheckBox)
  - [AppCompatCheckedTextView](https://developer.android.com/reference/android/support/v7/widget/AppCompatCheckedTextView)
  - [AppCompatEditText](https://developer.android.com/reference/android/support/v7/widget/AppCompatEditText)
  - [AppCompatImageButton](https://developer.android.com/reference/android/support/v7/widget/AppCompatImageButton)
  - [AppCompatImageView](https://developer.android.com/reference/android/support/v7/widget/AppCompatImageView)
  - [AppCompatMultiAutoCompleteTextView](https://developer.android.com/reference/android/support/v7/widget/AppCompatMultiAutoCompleteTextView)
  - [AppCompatRadioButton](https://developer.android.com/reference/android/support/v7/widget/AppCompatRadioButton)
  - [AppCompatRatingBar](https://developer.android.com/reference/android/support/v7/widget/AppCompatRatingBar)
  - [AppCompatSeekBar](https://developer.android.com/reference/android/support/v7/widget/AppCompatSeekBar)
  - [AppCompatSpinner](https://developer.android.com/reference/android/support/v7/widget/AppCompatSpinner)
  - [AppCompatTextView](https://developer.android.com/reference/android/support/v7/widget/AppCompatTextView)
  - [CardView](https://developer.android.com/reference/android/support/v7/widget/CardView)
  - [DefaultItemAnimator](https://developer.android.com/reference/android/support/v7/widget/DefaultItemAnimator)
  - [DividerItemDecoration](https://developer.android.com/reference/android/support/v7/widget/DividerItemDecoration)
  - [GridLayout](https://developer.android.com/reference/android/support/v7/widget/GridLayout)
  - [GridLayout.Alignment](https://developer.android.com/reference/android/support/v7/widget/GridLayout.Alignment)
  - [GridLayout.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/GridLayout.LayoutParams)
  - [GridLayout.Spec](https://developer.android.com/reference/android/support/v7/widget/GridLayout.Spec)
  - [GridLayoutManager](https://developer.android.com/reference/android/support/v7/widget/GridLayoutManager)
  - [GridLayoutManager.DefaultSpanSizeLookup](https://developer.android.com/reference/android/support/v7/widget/GridLayoutManager.DefaultSpanSizeLookup)
  - [GridLayoutManager.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/GridLayoutManager.LayoutParams)
  - [GridLayoutManager.SpanSizeLookup](https://developer.android.com/reference/android/support/v7/widget/GridLayoutManager.SpanSizeLookup)
  - [LinearLayoutCompat](https://developer.android.com/reference/android/support/v7/widget/LinearLayoutCompat)
  - [LinearLayoutCompat.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/LinearLayoutCompat.LayoutParams)
  - [LinearLayoutManager](https://developer.android.com/reference/android/support/v7/widget/LinearLayoutManager)
  - [LinearLayoutManager.LayoutChunkResult](https://developer.android.com/reference/android/support/v7/widget/LinearLayoutManager.LayoutChunkResult)
  - [LinearSmoothScroller](https://developer.android.com/reference/android/support/v7/widget/LinearSmoothScroller)
  - [LinearSnapHelper](https://developer.android.com/reference/android/support/v7/widget/LinearSnapHelper)
  - [ListPopupWindow](https://developer.android.com/reference/android/support/v7/widget/ListPopupWindow)
  - [OrientationHelper](https://developer.android.com/reference/android/support/v7/widget/OrientationHelper)
  - [PagerSnapHelper](https://developer.android.com/reference/android/support/v7/widget/PagerSnapHelper)
  - [PopupMenu](https://developer.android.com/reference/android/support/v7/widget/PopupMenu)
  - [RecyclerView](https://developer.android.com/reference/android/support/v7/widget/RecyclerView)
  - [RecyclerView.Adapter](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Adapter)
  - [RecyclerView.AdapterDataObserver](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.AdapterDataObserver)
  - [RecyclerView.EdgeEffectFactory](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.EdgeEffectFactory)
  - [RecyclerView.ItemAnimator](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator)
  - [RecyclerView.ItemAnimator.ItemHolderInfo](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemAnimator.ItemHolderInfo)
  - [RecyclerView.ItemDecoration](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ItemDecoration)
  - [RecyclerView.LayoutManager](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager)
  - [RecyclerView.LayoutManager.Properties](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutManager.Properties)
  - [RecyclerView.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.LayoutParams)
  - [RecyclerView.OnFlingListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnFlingListener)
  - [RecyclerView.OnScrollListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.OnScrollListener)
  - [RecyclerView.RecycledViewPool](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.RecycledViewPool)
  - [RecyclerView.Recycler](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.Recycler)
  - [RecyclerView.SimpleOnItemTouchListener](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SimpleOnItemTouchListener)
  - [RecyclerView.SmoothScroller](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SmoothScroller)
  - [RecyclerView.SmoothScroller.Action](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.SmoothScroller.Action)
  - [RecyclerView.State](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.State)
  - [RecyclerView.ViewCacheExtension](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewCacheExtension)
  - [RecyclerView.ViewHolder](https://developer.android.com/reference/android/support/v7/widget/RecyclerView.ViewHolder)
  - [RecyclerViewAccessibilityDelegate](https://developer.android.com/reference/android/support/v7/widget/RecyclerViewAccessibilityDelegate)
  - [RecyclerViewAccessibilityDelegate.ItemDelegate](https://developer.android.com/reference/android/support/v7/widget/RecyclerViewAccessibilityDelegate.ItemDelegate)
  - [SearchView](https://developer.android.com/reference/android/support/v7/widget/SearchView)
  - [ShareActionProvider](https://developer.android.com/reference/android/support/v7/widget/ShareActionProvider)
  - [SimpleItemAnimator](https://developer.android.com/reference/android/support/v7/widget/SimpleItemAnimator)
  - [SnapHelper](https://developer.android.com/reference/android/support/v7/widget/SnapHelper)
  - [StaggeredGridLayoutManager](https://developer.android.com/reference/android/support/v7/widget/StaggeredGridLayoutManager)
  - [StaggeredGridLayoutManager.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/StaggeredGridLayoutManager.LayoutParams)
  - [SwitchCompat](https://developer.android.com/reference/android/support/v7/widget/SwitchCompat)
  - [ThemedSpinnerAdapter.Helper](https://developer.android.com/reference/android/support/v7/widget/ThemedSpinnerAdapter.Helper)
  - [Toolbar](https://developer.android.com/reference/android/support/v7/widget/Toolbar)
  - [Toolbar.LayoutParams](https://developer.android.com/reference/android/support/v7/widget/Toolbar.LayoutParams)
  - [Toolbar.SavedState](https://developer.android.com/reference/android/support/v7/widget/Toolbar.SavedState)
  - [TooltipCompat](https://developer.android.com/reference/android/support/v7/widget/TooltipCompat)