I'm working on Android hybrid apps from last 5 years, its very tough to stay in touch with Native android UI, Now I started learning through sample applications, so thought of sharing my learning here. RecyclerView has came with Material design in Android Lollipop, RecyclerView is advanced, flexible version of Listview, RecyclerView uses the view holder pattern and improve the performance by reusing off screen views and rebinds them to the data which is scrolling on the screen, now lets see the difference between list view and recyclerview. Difference between RecyclerView and Listview :- 1. RecyclerView forces to use RecyclerView.ViewHolder (Inbuilt view Holder) to hold the elements, to reuse the cells while scrolling, which was optional in Listview which we used to create in adapters getView() method. 2. Animation while adding list items or removing list items are already added in the recyclerview. 3. List views were only of vertical...
This blog is for ANDROID developers which contains information about development, resolutions of common issues and much more about ANDROID...