$ show firebase/friendlyeats-android
Friendly Eats is an Android restaurant recommendation app that uses Firebase Firestore for real-time data synchronization and Firebase Authentication for user sign-in. The app features a main screen with a filterable and sortable list of restaurants, a detail view for individual restaurants, and the ability to add ratings. The architecture follows Android Jetpack guidelines with a single activity, multiple fragments, ViewModel for UI state, and the Navigation component for fragment transactions. Firestore queries are used to fetch and listen to restaurant data, with transactions ensuring data consistency when adding ratings.
The LLM identified 1 files worth highlighting for reuse:
An abstract RecyclerView adapter that handles Firestore real-time updates. It manages listener registration, processes document changes (added, modified, removed), and updates the RecyclerView efficiently. Designed to be extended by providing a ViewHolder and binding logic, making it reusable across different Firestore-backed lists.