Adding the dependencies
FirebaseUI is just an open-source library by Google that provides easy UI bindings for Firebase Auth and Firebase Database.
To begin adding FirebaseUI to your app, add these dependencies in your app's
Populating a ListView
Assuming you have already set up an app in Android Studio, add a
ListView to a layout
(or skip if that's already done):
Now let's create a model for the data we're going to populate our
Make sure your
ListView has an id, then create a reference to it in your
Activity and set its adapter to a new
After you've done that, add some data to your database and watch the
ListView populate itself.
This modified text is an extract of the original Stack Overflow Documentation created by following contributors
and released under CC BY-SA 3.0