How chizuyu/blogger works
Blogger is an Android social blogging app: users authenticate, browse and manage posts, interact through likes and comments, and view or update profiles. The README documents MVVM and Retrofit, while the tree identifies screens, ViewModels, API definitions, and models. Source excerpts were not provided, so internal call wiring and specific API request flows cannot be verified; the graph shows the documented structure and major capabilities without asserting those details.
Main entry points: MainActivity.kt App entry · ApiService.kt API service · RetroFitClient.kt Retrofit client · navGraph.kt Navigation
Components 18
Android app
- App entry
app/src/main/java/com/example/myapplication/MainActivity.kt - Navigation
app/src/main/java/com/example/myapplication/navigation/navGraph.kt
User features
- Login and registration
app/src/main/java/com/example/myapplication/ui/screens/LoginScreen.kt - Auth ViewModels
app/src/main/java/com/example/myapplication/ui/viewModel/LoginViewModel.kt - Post screens
app/src/main/java/com/example/myapplication/ui/screens/PostScreen.kt - Create and edit posts
app/src/main/java/com/example/myapplication/ui/screens/CreatePostScreen.kt - Post details
app/src/main/java/com/example/myapplication/ui/screens/DetailPostScreen.kt - Post ViewModels
app/src/main/java/com/example/myapplication/ui/viewModel/PostViewModel.kt - Likes
app/src/main/java/com/example/myapplication/ui/screens/HomeScreen.kt - Comments
app/src/main/java/com/example/myapplication/model/CommentModel.kt - Profiles and follows
app/src/main/java/com/example/myapplication/ui/screens/ProfileScreen.kt - User search
app/src/main/java/com/example/myapplication/ui/screens/SearchScreen.kt - Profile and user ViewModels
app/src/main/java/com/example/myapplication/ui/viewModel/ProfileViewModel.kt
Networking and models
- API service
app/src/main/java/com/example/myapplication/api/ApiService.kt - Retrofit client
app/src/main/java/com/example/myapplication/api/RetroFitClient.kt - Domain models
app/src/main/java/com/example/myapplication/model/PostModel.kt
Other components
- User
- REST API
Connections 12
- User → App entry: opens app
- App entry → Navigation: starts navigation
- User → Login and registration: authenticates
- User → Post screens: browses posts
- User → Create and edit posts: manages posts
- User → Post details: opens post
- User → Likes: likes posts
- User → Comments: discusses posts
- User → Profiles and follows: views profiles
- User → User search: searches users
- Retrofit client → API service: creates client
- API service → REST API: REST requests