How aggarwalsrishti/recollect works
Recollect is an Android app for capturing and organizing notes, links, snippets, and images. The principal workflow is to enter through authentication-based navigation, manage saved items in the Compose interface, and persist them locally or use cloud-backed functionality. Its documented capabilities include searching, filtering, archiving, restoring, editing, and deleting items. The README describes the main architectural roles, but application source was not sampled; dashed edges mark likely runtime connections that cannot be verified from the available evidence.
Main entry points: SaveScreen.kt Saved items screen · MainActivity.kt App entry and navigation · SaveRepository.kt Save data access · SaveItemDao.kt Saved item queries
Components 15
App and interface
- App entry and navigation
app/src/main/java/com/example/recollect/MainActivity.kt - Authentication screen
app/src/main/java/com/example/recollect/ui/screens/AuthScreen.kt - Saved items screen
app/src/main/java/com/example/recollect/ui/screens/SaveScreen.kt - Item editor
app/src/main/java/com/example/recollect/ui/screens/ItemEditorDialog.kt - Saved item card
app/src/main/java/com/example/recollect/ui/screens/SaveItemCard.kt
Application logic
- Authentication logic
app/src/main/java/com/example/recollect/viewmodel/AuthViewModel.kt - Saved item logic
app/src/main/java/com/example/recollect/viewmodel/SaveViewModel.kt - Save data access
app/src/main/java/com/example/recollect/repository/SaveRepository.kt
Local persistence
- Saved item model
app/src/main/java/com/example/recollect/data/room_database/SaveItem.kt - Saved item queries
app/src/main/java/com/example/recollect/data/room_database/SaveItemDao.kt - Room database
app/src/main/java/com/example/recollect/data/room_database/SaveDatabase.kt
Cloud services
- Cloud data access
app/src/main/java/com/example/recollect/data/cloud/CloudRepository.kt - Firebase Authentication
- Cloud Firestore
Other components
- User
Connections 15
- User → App entry and navigation: opens app
README.md - App entry and navigation → Authentication screen: routes by authentication
README.md - Authentication screen → Authentication logic: delegates authentication
- Authentication logic → Firebase Authentication: authenticates
- App entry and navigation → Saved items screen: opens saved items
- User → Saved items screen: manages items
README.md - Saved items screen → Saved item logic: requests item state
- Saved items screen → Item editor: opens editor
- Saved items screen → Saved item card: shows items
- Saved item logic → Save data access: requests data
- Save data access → Saved item queries: accesses local data
- Saved item queries → Saved item model: queries items
- Room database → Saved item queries: provides database
- Save data access → Cloud data access: uses cloud data
- Cloud data access → Cloud Firestore: stores cloud data