Essential Android RecyclerView edit forum

RecyclerView

Versions

[{“Name”:“2.1.x”,“GroupName”:null},{“Name”:“2.2.x”,“GroupName”:null},{“Name”:“3.0.x”,“GroupName”:null},{“Name”:“3.1.x”,“GroupName”:null},{“Name”:“3.2.x”,“GroupName”:null},{“Name”:“4.0”,“GroupName”:null},{“Name”:“4.0.3”,“GroupName”:null},{“Name”:“4.1”,“GroupName”:null},{“Name”:“4.2”,“GroupName”:null},{“Name”:“4.3”,“GroupName”:null},{“Name”:“4.4”,“GroupName”:null},{“Name”:“4.4W”,“GroupName”:null},{“Name”:“5.0”,“GroupName”:null},{“Name”:“5.1”,“GroupName”:null},{“Name”:“6.0”,“GroupName”:null},{“Name”:“7.0”,“GroupName”:null},{“Name”:“7.1”,“GroupName”:null}]

Introduction

RecyclerView is a more advanced version of List View with improved performance and additional features.

Parameters

| Parameter | Detail | |—————–|–––––––| |Adapter | A subclass of 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). 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|

Remarks

The RecyclerView is a flexible view for providing a limited window into a large data set.

Before using the RecyclerView you have to add the support library dependency in the build.gradle file:

dependencies {
    // Match the version of your support library dependency
    compile 'com.android.support:recyclerview-v7:25.3.1'
}

You can find latest version number of recyclerview from official site.

Other related topics:

There are other topics which describe the RecyclerView components:

Official Documentation

http://developer.android.com/reference/android/support/v7/widget/RecyclerView.html

Older versions:

//it requires compileSdkVersion 25
compile 'com.android.support:recyclerview-v7:25.2.0'
compile 'com.android.support:recyclerview-v7:25.1.0'
compile 'com.android.support:recyclerview-v7:25.0.0'

//it requires compileSdkVersion 24
compile 'com.android.support:recyclerview-v7:24.2.1' 
compile 'com.android.support:recyclerview-v7:24.2.0' 
compile 'com.android.support:recyclerview-v7:24.1.1'  
compile 'com.android.support:recyclerview-v7:24.1.0'  

//it requires compileSdkVersion 23
compile 'com.android.support:recyclerview-v7:23.4.0'
compile 'com.android.support:recyclerview-v7:23.3.0'
compile 'com.android.support:recyclerview-v7:23.2.1'
compile 'com.android.support:recyclerview-v7:23.2.0'
compile 'com.android.support:recyclerview-v7:23.1.1'
compile 'com.android.support:recyclerview-v7:23.1.0'
compile 'com.android.support:recyclerview-v7:23.0.1'
compile 'com.android.support:recyclerview-v7:23.0.0'

//it requires compileSdkVersion 22
compile 'com.android.support:recyclerview-v7:22.2.1'
compile 'com.android.support:recyclerview-v7:22.2.0'
compile 'com.android.support:recyclerview-v7:22.1.1'
compile 'com.android.support:recyclerview-v7:22.1.0'
compile 'com.android.support:recyclerview-v7:22.0.0'

//it requires compileSdkVersion 21
compile 'com.android.support:recyclerview-v7:21.0.3'
compile 'com.android.support:recyclerview-v7:21.0.2'
compile 'com.android.support:recyclerview-v7:21.0.0'

Table Of Contents
22 RecyclerView
39 ACRA
64 Menu
112 Loader
119 Xposed
132 Colors
135 Fresco
140 AdMob
147 Button
156 Vk SDK
170 XMPP
176 OpenCV
200 FileIO
203 Moshi
217 Paint
231 AIDL
241 JCodec
243 Okio
255 Looper
  ↑ ↓ to navigate     ↵ to select     Esc to close