Group Services: Technology Consulting
phone +91-9999-283-283/9540-283-283
email info@sisoft.in

Using CardView and RecyclerView in Android

In this example , we will be developing a Recycler View app.Recycler View is used to display long lists. It is different than other adapters because it reuses Views that were created earlier. This increases app efficiency as a few views are able to display the entire list to the user and reduces system overhead to generate views for all the list items in the list. We will also use a CardView which comes from Material Design of Android. A CardView gives the list item a distinctive look and enhances the overall appearance of the app.

Steps to develop this can be summarized below -

Used Concepts & Used Version:

Now, let us begin the development...

1.LauncherActivity.class (Launcher Activity)

This Activity has only one button which when clicked will take the user to CardViewActivity.class

2. Layout for LauncherActivity.class

3.CardViewActivity.class

activity_card_view.xml

RecyclerViewActivity.class

card_view.xml

DataObejct.class

Output

Picture 1