Skip to content

Sample Android App (In Compose) focused on demonstrating MVVM, clean code and dependency injection best practice.

License

Notifications You must be signed in to change notification settings

jamesdpli/ValorantAndroid

Repository files navigation

ValorantAndroid

codecov

Showcase

Loading Agents List Agent Details
loading_valorant_android scrolling_valorant_android details_valorant

Important Pull Requests

Pull Request Branch Name Short Description
#1 AgentsPayload Display a payload from an api on the screen, no di etc. This just lays out the basics
#2 IntroduceHilt Introduces and utilises dagger-hilt for dependency injection best practice
#3 AddUiState Add UiState sealed interface to AgentsViewModel and utilise it
#4 ConvertToStateFlow Converts ComposeSate to StateFlow
#5 DisplayAgentNames Display agent names in LazyColumn
#6 IntroduceComposeNavigation Basic PR for compose navigation integration
#7 AddOkHttpInterceptor Adds OkHttpInterceptor
#8 AddOkHttpInterceptor Empty PR. Not sure what happened here
#9 MvvmAgentDetailsScreen Adds agent details screen with partial mvvvm
#10 UpdateNetworking New screen uses repository pattern, dto's use nested data classes
#11 AddCoil Adds coil and async image example
#12 AgentListToDetailsUiRework Rework of Agent list to agent details functionality
#13 SetUpNavGraph Set up nested navigation
#14 TopAppBar Initial TopAppBar implementation
#15 AddDomainLayer Initial domain layer implementation
#16 InitalRoomDatabaseImplementation Inital room database implementation, with example insert statement
#17 FavouriteAgentsPartOne Add a favourites feature to agents on the agents list screen, data is persisted in a room database
#18 FavouriteAgentsPartTwo Improve favourite agents feature by moving towards an offline first model
#19 AddTabs Add tabs so the user can view their favourite agents seperatly from the list of agents
#20 PrepareViewModelForTesting Closed PR
#21 RevertFavourites Add tabs so the user can view their favourite agents seperatly from the list of agents
#22 AgentsViewModelTest Make AgentsViewModel have 100% unit test coverage
#23 TestMapperAndDetailViewModel Add tests for mapper and AgentsDetailViewModel
#24 CoverRepositoryInTest Add tests for AgentsRepositoryImpl
#25 AddUiTests Add Ui tests for the AgentsScreen
#26 AddGithubActions Add Github actions that check run all ui and unit tests
#27 TestCodeCov Add Kover and use GitHub actions to send the test report to codecov, commit https://github.com/jamesdpli/ValorantAndroid/commit/e7780481d550699c17e8b7a1301a560954b1cd7d fixes an issue with codecov not populating

Coverage charts (provided by codecov)

Sun burst Grid Icicle

Credits

Credits Description Link To Docs
Valorant-API An extensive API containing data of most in-game items, assets and more! https://dash.valorant-api.com/
android-emulator-runner A GitHub Action for installing, configuring and running hardware-accelerated Android Emulators on Linux and macOS virtual machines. https://github.com/ReactiveCircus/android-emulator-runner

About

Sample Android App (In Compose) focused on demonstrating MVVM, clean code and dependency injection best practice.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages