Created
June 20, 2021 10:57
-
-
Save varundwarkani/b08ddf268d5bd85726773e455a44eb00 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 RecordingPositionUIState extends BaseObservable { | |
@Bindable | |
private Boolean left = false; | |
@Bindable | |
private Boolean center = false; | |
@Bindable | |
private Boolean right = false; | |
public Boolean getLeft() { | |
return left; | |
} | |
public void setLeft(Boolean left) { | |
if (left != this.left) { | |
this.left = left; | |
notifyPropertyChanged(BR.left); | |
} | |
} | |
public Boolean getCenter() { | |
return center; | |
} | |
public void setCenter(Boolean center) { | |
if (center != this.center) { | |
this.center = center; | |
notifyPropertyChanged(BR.center); | |
} | |
} | |
public Boolean getRight() { | |
return right; | |
} | |
public void setRight(Boolean right) { | |
if (right != this.right) { | |
this.right = right; | |
notifyPropertyChanged(BR.right); | |
} | |
} | |
public void refreshData() { | |
setLeft(false); | |
setRight(false); | |
setCenter(false); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment