You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Since the view only has one event the activity/controller cares about (login button click) I decided to hijack the OnClickListener interface to simplify the implementation.
If there was more than one event, for example a login button click and a cancel button click, you could instead use a custom interface.
[Question]
https://github.com/ecgreb/mvpc/blob/master/app/src/main/java/com/example/ecgreb/mvpc/view/LoginForm.java#L122
https://github.com/ecgreb/mvpc/blob/master/app/src/main/java/com/example/ecgreb/mvpc/controller/LoginActivity.java#L29-#L33
Could you explain more about this? Is it scalable?
The text was updated successfully, but these errors were encountered: