はじめに 私はこれまで次のようにAndroidアプリ設計に関わる記事を書きました。 Kotlin + Architecture Component + Dagger2によるAndroidアプリ設計 RxJava + Flux (+ Kotlin)によるAndroidアプリ設計 これら2つ記事の内容を組み合わせた、「Architecture Components + FluxによるAndroidアプリ設計」について考えたので本記事にその設計をまとめました。 結論から言うとFluxアーキテクチャとArchitecture Componentsの相性はとても良いと思います。 Sample 実装のサンプルは以下にあります。 このリポジトリにはFluxアーキテクチャのDispatcherやStoreからViewへのデータの反映を様々な実装で実現したサンプルがあるので、合わせて参考にしていただければ幸