This is a movies sample app in Kotlin, which is part of a serie of blog posts I have written about architecting android application using different approaches.
I am trying to apply the architecture to ours legacy project, and I've got some difficullties with UseCases variations.
How to implement completable UseCase without return value?
How to implement subscription to some events via UseCase? For example, how to implement UseCase which will deliver ConnectivityChange events to presenter? Or how to observe data changes in repository (w.o. using Rx)?
Thanks for nice sample of Clean Architecture project!
@freaksgit well it was a year ago :D
for question number 1 : Create another UseCase that return instance of Completable, without Type generic (just Params)
I am trying to apply the architecture to ours legacy project, and I've got some difficullties with UseCases variations.
How to implement completable UseCase without return value?
How to implement subscription to some events via UseCase? For example, how to implement UseCase which will deliver ConnectivityChange events to presenter? Or how to observe data changes in repository (w.o. using Rx)?
Thanks for nice sample of Clean Architecture project!