How yohalmoechegoyen46-max/recipebox works
RecipeBox is an Android recipe app, with screens for exploring recipes, viewing details, managing favorites, and maintaining a shopping list. The apparent workflow begins at the app entry point and branches into those user tasks, backed by repositories and local storage; a remote recipe API is also represented. The supplied excerpts contain no app source and the README is empty, so screen-to-view-model and data-layer connections below are dashed, unverified relationships inferred from the file tree rather than confirmed calls.
Main entry points: RecipeRepository.kt Recipe repository · ExploreScreen.kt Explore screen · BottomNavBar.kt Bottom navigation · FavoritesViewModel.kt Favorites state
Components 25
App and UI
- App entry
app/src/main/java/com/example/recipebox/MainActivity.kt - Bottom navigation
app/src/main/java/com/example/ui/components/BottomNavBar.kt
Recipe browsing
- Explore screen
app/src/main/java/com/example/ui/screens/explore/ExploreScreen.kt - Explore state
app/src/main/java/com/example/ui/viewmodel/ExploreViewModel.kt - Category filters
app/src/main/java/com/example/ui/components/CategoryFilterChips.kt - Recipe card
app/src/main/java/com/example/ui/components/RecipeCard.kt - Recipe details
app/src/main/java/com/example/ui/screens/detail/RecipeDetailScreen.kt - Detail state
app/src/main/java/com/example/ui/viewmodel/DetailViewModel.kt
Saved and shopping
- Favorites screen
app/src/main/java/com/example/ui/screens/favorites/FavoritesScreen.kt - Favorites state
app/src/main/java/com/example/ui/viewmodel/FavoritesViewModel.kt - Shopping list
app/src/main/java/com/example/ui/screens/shopping/ShoppingListScreen.kt - Shopping state
app/src/main/java/com/example/ui/viewmodel/ShoppingViewModel.kt
Data and storage
- Recipe model
app/src/main/java/com/example/data/model/Recipe.kt - Recipe seed data
app/src/main/java/com/example/data/model/RecipeSeedData.kt - Recipe repository
app/src/main/java/com/example/data/repository/RecipeRepository.kt - Shopping repository
app/src/main/java/com/example/data/repository/ShoppingRepository.kt - Local database
app/src/main/java/com/example/data/local/AppDatabase.kt - Favorites access
app/src/main/java/com/example/data/local/dao/FavoriteDao.kt - Favorite record
app/src/main/java/com/example/data/local/entity/FavoriteRecipeEntity.kt - Shopping access
app/src/main/java/com/example/data/local/dao/ShoppingDao.kt - Shopping record
app/src/main/java/com/example/data/local/entity/ShoppingItemEntity.kt - Recipe API
app/src/main/java/com/example/data/remote/RecipeApiService.kt - HTTP client setup
app/src/main/java/com/example/data/remote/RetrofitClient.kt
Other components
- User
- Remote service
Connections 27
- User → App entry: opens
- App entry → Bottom navigation: shows
- Bottom navigation → Explore screen: navigates
- Bottom navigation → Favorites screen: navigates
- Bottom navigation → Shopping list: navigates
- Explore screen → Explore state: uses state
- Explore screen → Category filters: shows
- Explore screen → Recipe card: shows
- Explore screen → Recipe details: opens recipe
- Recipe details → Detail state: uses state
- Explore state → Recipe repository: loads recipes
- Detail state → Recipe repository: loads recipe
- Favorites screen → Favorites state: uses state
- Favorites state → Recipe repository: manages favorites
- Shopping list → Shopping state: uses state
- Shopping state → Shopping repository: manages items
- Recipe repository → Recipe seed data: reads seed data
- Recipe repository → Recipe model: uses model
- Shopping repository → Shopping access: accesses items
- Shopping access → Local database: uses storage
- Shopping access → Shopping record: stores records
- Favorites state → Favorites access: accesses favorites
- Favorites access → Local database: uses storage
- Favorites access → Favorite record: stores records
- Recipe repository → Recipe API: requests recipes
- Recipe API → HTTP client setup: uses client
- HTTP client setup → Remote service: connects to