Course Content

Course Content


Implementations of LayoutManager that arrange things in a grid. WearableLinearLayoutManager. Basic offsetting logic for updating child layout is provided by this wear-specific implementation of LinearLayoutManager. This is a RecyclerView. Implementation of LayoutManager, which is identical to ListView in terms of functionality.

  • Making Use of the RecyclerView
  • Create a model class that will be used as a data source.
  • To display the items, add a RecyclerView to your activity.
  • To visualise the item, create a custom row layout XML file.
  • Create a RecyclerView in your app. To render the object, you'll need an Adapter and a ViewHolder.
  • To populate the RecyclerView, connect the adapter to the data source.

The ScrollingView interface is implemented by the RecyclerView class, which extends the ViewGroup class. Marshmallow is where it first appears. It's a more advanced version of the ListView, with better speed and additional features.

  • Include the Recycler View widget as a dependency in your project. Implementation '' is the most recent dependency for Recycler View. Add the Card View dependency as well.
  • Create the layout file activity main.xml. The principal activity.

A ViewHolder holds information about an item view and its location in the RecyclerView. RecyclerView. Implementations of ViewHolder should subclass ViewHolder and provide properties for caching possibly expensive View findViewById(int) results.

Recommended Courses

Share With Friend

Have a friend to whom you would want to share this course?

Download LearnVern App

App Preview Image
App QR Code Image
Code Scan or Download the app
Google Play Store
Apple App Store
598K+ Downloads
App Download Section Circle 1
4.57 Avg. Ratings
App Download Section Circle 2
15K+ Reviews
App Download Section Circle 3
  • Learn anywhere on the go
  • Get regular updates about your enrolled or new courses
  • Share content with your friends
  • Evaluate your progress through practice tests
  • No internet connection needed
  • Enroll for the webinar and join at the time of the webinar from anywhere