Created
June 18, 2021 23:01
-
-
Save etkenkalem/5e505a6b4358778cc18f79a7342e3f97 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 String userName="userName"; | |
| private String firstName="Oguz Ali"; | |
| private String lastName="CAN"; | |
| @Bindable | |
| public String getUserName() { | |
| return userName; | |
| } | |
| public void setUserName(String userName) { | |
| this.userName = userName; | |
| notifyPropertyChanged(BR.userName); | |
| } | |
| @Bindable | |
| public String getFirstName() { | |
| return firstName; | |
| } | |
| public void setFirstName(String firstName) { | |
| this.firstName = firstName; | |
| notifyPropertyChanged(BR.firstName); | |
| } | |
| @Bindable | |
| public String getLastName() { | |
| return lastName; | |
| } | |
| public void setLastName(String lastName) { | |
| this.lastName = lastName; | |
| notifyPropertyChanged(BR.lastName); | |
| } | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment