If you've got someone you truly admire for their fiery passion in programming, hitting that 'follow' button on GitHub might not be enough. Don't settle for the minimal info on your feed! That's where this app comes in π
Can be considered as a demo project to showcase MVVM with latest android development tools
- Install the latest APK from releases π₯
- Add him/her to the list by entering the GitHub
username
- Done π
Now you can see whatever he does π
- Kotlin - First class and official programming language for Android development.
- Coroutines - For asynchronous and more..
- Flow - A cold asynchronous data stream that sequentially emits values and completes normally or with an exception.
- Android Architecture Components - Collection of libraries that help you design robust, testable, and maintainable apps.
- LiveData - Data objects that notify views when the underlying database changes.
- ViewModel - Stores UI-related data that isn't destroyed on UI changes.
- ViewBinding - Generates a binding class for each XML layout file present in that module and allows you to more easily write code that interacts with views.
- Room - SQLite object mapping library.
- Dagger 2 - Dependency Injection Framework
- Retrofit - A type-safe HTTP client for Android and Java.
- Moshi - A modern JSON library for Kotlin and Java.
- Moshi Converter - A Converter which uses Moshi for serialization to and from JSON.
- Glide - An image loading library for Android backed by Kotlin Coroutines.
- Material Components for Android - Modular and customizable Material Design UI components for Android.
- TwinKill - A simple library, a collection of utility classes wrapped around JetPack components
- MaterialColors - Android material color palettes
- Material Dialogs - A beautiful, fluid, and extensible dialogs API for Kotlin & Android.
- JUnit - A programmer-oriented testing framework for Java
- Mockito - Most popular Mocking framework for unit tests written in Java
- Mockito-kotlin - To use Mockito with Kotlin
- Expekt - BDD assertion library for Kotlin
- Android Arch Testing - To test android architectural components
- Kotlin Coroutines Test - Testing utilities for effectively testing coroutines.
- Robolectric - Android Unit Testing Framework
- DaggerMock - A JUnit rule to easily override Dagger 2 objects
- Espresso - To write concise, beautiful, and reliable Android UI tests.
- Barista - To make espresso tests faster, easier and more predictable
This project follows the famous MVVM architecture and best practices from Google's GithubBrowserSample
.
βββ androidTest
βΒ Β βββ java
βΒ Β βββ com
βΒ Β βββ theapache64
βΒ Β βββ tracktor
βΒ Β βββ ui
βΒ Β βΒ Β βββ activities
βΒ Β βΒ Β βββ splash
βΒ Β βΒ Β βΒ Β βββ SplashActivityTest.kt
βΒ Β βΒ Β βββ userdetail
βΒ Β βΒ Β βΒ Β βββ UserDetailActivityTest.kt
βΒ Β βΒ Β βββ users
βΒ Β βΒ Β βββ UsersActivityTest.kt
βΒ Β βββ utils
βΒ Β βββ DaggerMockRules.kt
βββ main
βΒ Β βββ AndroidManifest.xml
βΒ Β βββ ic_launcher-playstore.png
βΒ Β βββ java
βΒ Β βΒ Β βββ com
βΒ Β βΒ Β βββ theapache64
βΒ Β βΒ Β βββ tracktor
βΒ Β βΒ Β βββ App.kt
βΒ Β βΒ Β βββ core
βΒ Β βΒ Β βΒ Β βββ events
βΒ Β βΒ Β βΒ Β βββ BaseEventSupport.kt
βΒ Β βΒ Β βΒ Β βββ EventManager.kt
βΒ Β βΒ Β βΒ Β βββ issuecomment
βΒ Β βΒ Β βΒ Β βΒ Β βββ IssueCommentEventPayload.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ IssueCommentEventSupport.kt
βΒ Β βΒ Β βΒ Β βββ issues
βΒ Β βΒ Β βΒ Β βΒ Β βββ IssuesEventPayload.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ IssuesEventSupport.kt
βΒ Β βΒ Β βΒ Β βββ push
βΒ Β βΒ Β βΒ Β βΒ Β βββ PushEventPayload.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ PushEventSupport.kt
βΒ Β βΒ Β βΒ Β βββ watch
βΒ Β βΒ Β βΒ Β βββ WatchEventSupport.kt
βΒ Β βΒ Β βββ data
βΒ Β βΒ Β βΒ Β βββ local
βΒ Β βΒ Β βΒ Β βΒ Β βββ AppDatabase.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ daos
βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βββ UserDao.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ entities
βΒ Β βΒ Β βΒ Β βΒ Β βββ UserEntity.kt
βΒ Β βΒ Β βΒ Β βββ remote
βΒ Β βΒ Β βΒ Β βΒ Β βββ ApiInterface.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ events
βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βββ Event.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ user
βΒ Β βΒ Β βΒ Β βΒ Β βββ User.kt
βΒ Β βΒ Β βΒ Β βββ repositories
βΒ Β βΒ Β βΒ Β βββ EventsRepo.kt
βΒ Β βΒ Β βΒ Β βββ PrefRepo.kt
βΒ Β βΒ Β βΒ Β βββ UserRepo.kt
βΒ Β βΒ Β βββ di
βΒ Β βΒ Β βΒ Β βββ components
βΒ Β βΒ Β βΒ Β βΒ Β βββ AppComponent.kt
βΒ Β βΒ Β βΒ Β βββ modules
βΒ Β βΒ Β βΒ Β βββ ActivitiesBuilderModule.kt
βΒ Β βΒ Β βΒ Β βββ AppModule.kt
βΒ Β βΒ Β βΒ Β βββ DatabaseModule.kt
βΒ Β βΒ Β βΒ Β βββ NetworkModule.kt
βΒ Β βΒ Β βΒ Β βββ RepoModule.kt
βΒ Β βΒ Β βΒ Β βββ ViewModelModule.kt
βΒ Β βΒ Β βββ models
βΒ Β βΒ Β βΒ Β βββ UserEvent.kt
βΒ Β βΒ Β βββ ui
βΒ Β βΒ Β βΒ Β βββ activities
βΒ Β βΒ Β βΒ Β βΒ Β βββ splash
βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βββ SplashActivity.kt
βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βββ SplashViewModel.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ userdetail
βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βββ UserDetailActivity.kt
βΒ Β βΒ Β βΒ Β βΒ Β βΒ Β βββ UserDetailViewModel.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ users
βΒ Β βΒ Β βΒ Β βΒ Β βββ UsersActivity.kt
βΒ Β βΒ Β βΒ Β βΒ Β βββ UsersViewModel.kt
βΒ Β βΒ Β βΒ Β βββ adapters
βΒ Β βΒ Β βΒ Β βββ EventDetailsAdapter.kt
βΒ Β βΒ Β βΒ Β βββ UserEventsAdapter.kt
βΒ Β βΒ Β βΒ Β βββ UsersAdapter.kt
βΒ Β βΒ Β βββ utils
βΒ Β βΒ Β βββ DateTimeUtils.kt
βΒ Β βΒ Β βββ EventRepoUtils.kt
βΒ Β βΒ Β βββ NightModeUtils.kt
βΒ Β βΒ Β βββ StringUtils.kt
βΒ Β βΒ Β βββ test
βΒ Β βΒ Β βββ OpenForTesting.kt
βΒ Β βββ res
βΒ Β βββ drawable
βΒ Β βΒ Β βββ ic_baseline_add_24.xml
βΒ Β βΒ Β βββ ic_baseline_close_24.xml
βΒ Β βΒ Β βββ ic_baseline_delete_outline_24.xml
βΒ Β βΒ Β βββ ic_hacker_100.xml
βΒ Β βΒ Β βββ ic_launcher_foreground.xml
βΒ Β βΒ Β βββ ic_night_mode_24.xml
βΒ Β βββ drawable-night
βΒ Β βΒ Β βββ ic_night_mode_24.xml
βΒ Β βββ layout
βΒ Β βΒ Β βββ activity_splash.xml
βΒ Β βΒ Β βββ activity_user_detail.xml
βΒ Β βΒ Β βββ activity_users.xml
βΒ Β βΒ Β βββ item_event_detail.xml
βΒ Β βΒ Β βββ item_user_event.xml
βΒ Β βΒ Β βββ item_user.xml
βΒ Β βββ mipmap-anydpi-v26
βΒ Β βΒ Β βββ ic_launcher_round.xml
βΒ Β βΒ Β βββ ic_launcher.xml
βΒ Β βββ mipmap-hdpi
βΒ Β βΒ Β βββ ic_launcher.png
βΒ Β βΒ Β βββ ic_launcher_round.png
βΒ Β βββ mipmap-mdpi
βΒ Β βΒ Β βββ ic_launcher.png
βΒ Β βΒ Β βββ ic_launcher_round.png
βΒ Β βββ mipmap-xhdpi
βΒ Β βΒ Β βββ ic_launcher.png
βΒ Β βΒ Β βββ ic_launcher_round.png
βΒ Β βββ mipmap-xxhdpi
βΒ Β βΒ Β βββ ic_launcher.png
βΒ Β βΒ Β βββ ic_launcher_round.png
βΒ Β βββ mipmap-xxxhdpi
βΒ Β βΒ Β βββ ic_launcher.png
βΒ Β βΒ Β βββ ic_launcher_round.png
βΒ Β βββ values
βΒ Β βΒ Β βββ colors.xml
βΒ Β βΒ Β βββ dimens.xml
βΒ Β βΒ Β βββ ic_launcher_background.xml
βΒ Β βΒ Β βββ strings.xml
βΒ Β βΒ Β βββ styles.xml
βΒ Β βββ values-night
βΒ Β βββ colors.xml
βΒ Β βββ styles.xml
βββ sharedTest
βΒ Β βββ java
βΒ Β βββ com
βΒ Β βββ theapache64
βΒ Β βββ tracktor
βΒ Β βββ utils
βΒ Β βββ test
βΒ Β βββ observeForTesting.kt
βββ test
βββ java
βΒ Β βββ com
βΒ Β βββ theapache64
βΒ Β βββ tracktor
βΒ Β βββ data
βΒ Β βΒ Β βββ local
βΒ Β βΒ Β βΒ Β βββ daos
βΒ Β βΒ Β βΒ Β βββ UserDaoTest.kt
βΒ Β βΒ Β βββ repositories
βΒ Β βΒ Β βββ EventsRepoTest.kt
βΒ Β βββ ui
βΒ Β βΒ Β βββ activities
βΒ Β βΒ Β βββ splash
βΒ Β βΒ Β βΒ Β βββ SplashViewModelTest.kt
βΒ Β βΒ Β βββ userdetail
βΒ Β βΒ Β βΒ Β βββ UserDetailViewModelTest.kt
βΒ Β βΒ Β βββ users
βΒ Β βΒ Β βββ UsersViewModelTest.kt
βΒ Β βββ utils
βΒ Β βββ DateTimeUtilsTest.kt
βΒ Β βββ StringUtilsKtTest.kt
βββ resources
βββ robolectric.properties
77 directories, 88 files
- π€ Icons are from flaticon.com
- ποΈ Design inspired from AnimeXStream
- π½ Data from GitHub API v3
- Support more GitHub events
- Add more test cases
- theapache64