How to use RecyclerView with CardView using Fragment
Channel: Pritam Tirpude
Date: 2017-09-08

How to use RecyclerView with CardView using Fragment ?

-----------RecyclerView--------------

The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views.

---------CardView--------------

CardView extends the FrameLayout class and lets you show information inside cards that have a consistent look across the platform. CardView widgets can have shadows and rounded corners.

------------Fragments----------------

A Fragment represents a behavior or a portion of user interface in an Activity. You can combine multiple fragments in a single activity to build a multi-pane UI and reuse a fragment in multiple activities. You can think of a fragment as a modular section of an activity, which has its own lifecycle, receives its own input events, and which you can add or remove while the activity is running (sort of like a "sub activity" that you can reuse in different activities).

---------------API Reference---------------------

RecyclerView :-

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

------------CardView---------------

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

------------Fragments------------------

https://developer.android.com/guide/components/fragments.html