In this, we create a recycler view to show our fetched data from the firebase real-time database.
For reference of Firebase Realtime Database, Click here
Import recycler view library
Create a recycler view in XML
An adapter class to setup recycler view
Model class to interact with firebase database values
Set adapter on recycler view in java file.
Recycler view library in Gradle file