Overview
GitHub User App is an Android application built during the Bangkit Academy program for searching and browsing GitHub user profiles. The app consumes the GitHub REST API to provide user search, detailed profile views, repository listings, and follower/following information.
Approach
Built with Kotlin following the MVVM architecture pattern. The app uses Retrofit for API communication with the GitHub REST API, LiveData for reactive UI updates, and ViewBinding for type-safe view access. Navigation between screens follows the single-activity pattern with fragments.
Tech Stack
| Layer | Technology |
|---|---|
| Language | Kotlin |
| IDE | Android Studio |
| Architecture | MVVM |
| Networking | Retrofit |
| UI Binding | ViewBinding |
| Async | Kotlin Coroutines |
| Local Storage | Room, DataStore |
| Image Loading | Glide |
Key Implementation Details
- GitHub REST API integration via Retrofit with JSON deserialization
- User search with debounced input to minimize API calls
- Profile detail screen showing avatar, bio, repository count, and follower/following counts
- Tab layout for switching between follower and following lists
- MVVM architecture separating network calls from UI logic via ViewModel and LiveData
Outcome
Completed as a Bangkit Academy intermediate project, demonstrating REST API consumption, MVVM architecture, and Android UI patterns.