Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for different types of UseCases #18

Closed
RiccardoM opened this issue Nov 29, 2016 · 0 comments
Closed

Support for different types of UseCases #18

RiccardoM opened this issue Nov 29, 2016 · 0 comments
Assignees
Labels
Milestone

Comments

@RiccardoM
Copy link

As of RxJava 2.0 new types have been added, such as Maybe, and also many more specific ones are already implemented in RxJava 1.x, such as Single and Completable.
I think that adding few abstract UseCase classes that let introduce this kinds of return types would be great, letting us creating more specific use cases (e.g. If I need just a string there's no need to return an Observable object). Some examples could be MaybeUseCase or SingleUseCase, and so on.

@SaeedMasoumi SaeedMasoumi added this to the 1.3.0 milestone Nov 29, 2016
@SaeedMasoumi SaeedMasoumi self-assigned this Nov 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants