-
Notifications
You must be signed in to change notification settings - Fork 207
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
Can not return value in MvpView #132
Comments
It's not a bug. View can not return some value. It can only notify presenter when something happens |
@senneco Is it done in purpose in order to correspond to principles of MVP pattern? |
@vladkarpman I didn't think about is it principle of MVP or not =) It's what Moxy givenness =) More discuss there: #2 |
@vladkarpman you are right, using one direction data flow makes your app better. Moxy support only one direction data flow by design. |
Can not do something like below:
interface MainView: MvpView { fun askPermission(permissions: Collection<String>): Completable }
Moxy doesn't provide ability to return value.
Are you going to add such feature or it's a bug?
The text was updated successfully, but these errors were encountered: