android10 / android10/Android-CleanArchitecture

UseCase responsibilities

オープン
#94 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る
discussion question
主要言語
Java
スター
15.5k
フォーク
3.3k
PR マージ指標
30日以内にマージされた PR はありません

説明

What can subclasses of UseCase do? What can't they do? In this project use cases are atomic tasks used to simply obtain data, but what about decision making, where does that belong?
Example 1: I have a collection of items and lazy loading. Is there one UseCase handling all pagination logic and calling necessary repository methods, or are there multiple UseCases and something (presenter?) orchestrating them?
Example 2: after executing a UseCase, based on its response we make a decision on what UseCase to call next. Again, where is this decision made?

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。