DroidKaigi 2020 official Android app
We are currently working on the event. We are looking for contributors!
DroidKaigi 2020 is a conference tailored for developers on 20th and 21st February 2020.
You can install the prodution app via Get it on Google Play.
// TODO: Add link to Google Play
And also, you can try the binary under development built on master branch through Try it on your device via DeployGate
Requirements
Android Studio 3.6 and higher. You can download it from this page.
Development Environment
Multi module project
We separate the modules for each feature. We use the Dynamic feature modules for additional features.
Kotlin Multiplatform Project
// TODO: Add MultiPlatform
Architecture
This app uses an AndroidJetpack(AAC) based architecture using AAC(LiveData, ViewModel, Room), Kotlin, Kotlin Coroutines Flow, DataBinding, Dagger, Firebase.
It is designed to be a unidirectional data flow within the ViewModel.
Fragment
Just observe() the LiveData<UiModel>
of the ViewModel.
ViewModel
The LiveData Kotlin Coroutines builder runs when LiveData becomes active.
And observe the data of the Coroutiens Flow of the repository.
The LiveData becomes LoadState.Loading before the Coroutiens Flow is executed by Flow.toLoadingState(), and becomes LoadState.Loaded when finished.
Construct UiModel LiveData from some such LiveData.
The combine
method works like RxJava's combineLatest.
You can make the loading state of the screen from multiple LiveData states like sessionLoadState.isLoading || favoriteState.isLoading
.
Run Coroutines with viewModelScope
when data changes, such as adding a session to Favorites.
Because we do not want to end the process of adding a session to favorites with the back button, we use WorkManager to do the processing.
Design
- DroidKaigi 2020 Design Kit
https://www.figma.com/file/RPPQQRys8IubNShKan8c2Z/DroidKaigi-2020-Design-Kit?node-id=0%3A2347 - App
https://www.figma.com/file/4r9becvhDy3GfXaXex8E8d/App