android10 / android10/Android-CleanArchitecture-Kotlin

UseCases not posting to UI by default

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

説明

What if a UseCase (interactor) is not meant to post (just) to UI?

Assume we have to add a GetMoviesNames interactor that returns only names. It makes sense that it would use the existing GetMovies interactor and then apply more logic to the result to get the list of names only. How would this be achieved with GetMovies only posting to UI? Is there a way to make posting to UI optional so that UseCases could be consumed by other UseCases in different thread than UI?

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

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

評価

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

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

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