Closed mwardach closed 5 years ago
Change of direction: I think we want to use one of the two RecyclerView user interface elements from "FirebaseUI".
Official docs: https://github.com/firebase/FirebaseUI-Android/tree/master/database
Here's one tutorial to check out, that loads images also. https://www.coderefer.com/firebaseui-android-firebase-database/ Demo: https://www.youtube.com/watch?v=u8aeUOkhlpc
Here's a longer set of videos that looks like it may explain things in more detail, but is using the newer Firestore instead of our RealtimeDatabase. I suspect the changes between the two database backends would be pretty small though. (No images in this one though...)
Current thought:
allEvents
list, and then use that to create a displayEventsList
that contains only the right date range and only the events that the user should see.)Done.
On Android use RecyclerView: https://www.journaldev.com/24041/android-recyclerview-load-more-endless-scrolling https://www.journaldev.com/12372/android-recyclerview-example
On iOS use UICollectionView: https://developer.apple.com/documentation/uikit/uicollectionview