Created
January 8, 2017 11:58
-
-
Save adityaladwa/88e58892165428e6272ea0f9bfb5803c to your computer and use it in GitHub Desktop.
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
public class User extends BaseObservable { | |
private boolean clicked; | |
@Bindable public boolean isClicked() { | |
return clicked; | |
} | |
public void setClicked(boolean clicked) { | |
this.clicked = !clicked; | |
notifyPropertyChanged(BR.clicked); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment