-
Notifications
You must be signed in to change notification settings - Fork 30
Open
Description
public class User extends BaseObservable{
private String firstName;
private String lastName;
@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);
}
@Bindable
public String getTotalName() {
return this.firstName + this.lastName;
}
}
BR,用不了
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels