Last active
March 15, 2019 09:59
-
-
Save alz-ahm/12e50267ef7221409d462dc76b297e6c to your computer and use it in GitHub Desktop.
View-View-Model-Communication
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This is wrong!! | |
myView.visibility = if(user.isAdmin()) View.VISIBLE else View.GONE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment