Firestore Tutorial Part 7 – CUSTOM JAVA OBJECT – Android Studio Tutorial
In part 7 of the Firestore tutorial we replace the Java HashMap in our code for our own custom Note class which has the title and description as fields and their corresponding getter methods. Firestore makes it easy to to turn a document into a custom model class via reflection by using the DocumentSnapshot’s toObject method.
Watch the whole playlist:
Code for this part:
https://gist.github.com/codinginflow/03fd59905389908d8fe6aaa19157755a
____________________
💻 Find the BEST programming tutorials on TutHub:
https://tuthub.io
⭐ Get my MVVM Caching Course now:
https://codinginflow.com/caching
❗ Subscribe to the channel:
https://www.youtube.com/c/codinginflo…
📨 Subscribe to the Coding in Flow newsletter:
https://codinginflow.com/newsletter
❓ Join our free developer community:
https://discord.gg/TSnMvmc
📣 Follow Coding in Flow on other sites:
Facebook: https://www.facebook.com/codinginflow
Instagram: https://www.instagram.com/codinginflow
TikTok: https://www.tiktok.com/@codinginflow
Twitter: https://twitter.com/codinginflow
Github: https://github.com/codinginflow
💰 Business requests, sponsoring, etc.: info@codinginflow.com
Views :28797
android studio