This is a tutorial for Android where we use Firebase's online real-time database. In this example we use test data to see if it will populate in a RecyclerView.
The objectives of this tutorial are:
1) upload data to Firebase
2) create a simple Java Object to correlate to the data
3) create a RecyclerView and use FirebaseRecyclerAdapter to handle listening and populating of data.
4) demonstrate how changes to the database are real-time and do not require refreshing.
Link to files: https://drive.google.com/file/d/0B8Sd...
remember, you need to import your own google-services.json file from your own firebase project for this to work. Watch part 1 if you haven't done so yet.
If you are using a newer version of the firebase database library than in this video, please remember to update firebase-ui-database as well since Android Studio wont notify you automatically to do so and you may not have any data populate if you don't.
Refer to:
https://github.com/firebase/FirebaseU...
for the most up to date versions
На этой странице сайта вы можете посмотреть видео онлайн Firebase for Android Tutorial Part 2 - Firebase Realtime Database длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Andrew Ruffolo 16 Июль 2016, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 18,386 раз и оно понравилось 94 зрителям. Приятного просмотра!