Skip to content

Commit 6c4db25

Browse files
Update README.md
1 parent 296ec5e commit 6c4db25

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

06-flux-architecture/README.md

+23
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,25 @@
11
「6章 Fluxアーキテクチャ」のサンプルです
22
====
3+
4+
「プロダクトでの実装」以降の節のコードが入っています。
5+
節のタイトルとコードの対応は以下の表のとおりです。
6+
7+
|| リポジトリ |
8+
|---|---|
9+
| RepositoryおよびActionの実装</br>DispatcherとStoreの実装| [flux-normal](flux-normal) |
10+
| EventBusとDataBindingを用いたDispacher、Storeの実装 | [flux-eventbus](flux-eventbus) |
11+
| RxJava2を用いたDispatcher、Storeの実装| [flux-rxjava](flux-rxjava) |
12+
13+
また、それぞれのリポジトリ内でのパッケージ構成は次のようになっています。
14+
15+
| パッケージ | 主なクラス |
16+
|---|---|
17+
| .data | api/entity/repositoryとサブパッケージがあり、GitHubService,GitHubRepositoryクラスが入っている |
18+
| .di | Dagger2のInjectionを行うためのクラス群 |
19+
| .flux | 全画面共通で使うようなAction/Dispatcher/Storeインタフェース、BaseActivityなど |
20+
| .ui.main | MainActivity/MainActionCreator/MainStore など画面固有のクラス |
21+
| .util | 拡張関数などのユーティリティクラス |
22+
23+
24+
25+

0 commit comments

Comments
 (0)