firstName = new ObservableField<>(); public final ObservableField<String> lastName = new ObservableField<>(); public final ObservableInt age = new ObservableInt(); }
userScore = new ObservableField<>(); …. public SearchViewModel(Context context) {} public void searchScore() { // do searching and modify userScore } public TextWatcher getUserNameEditTextWatcher() { return new TextWatcher() { .... }; }
userScore = new ObservableField<>(); …. public SearchViewModel(Context context) {} public void searchScore() { // do searching and modify userScore } public TextWatcher getUserNameEditTextWatcher() { return new TextWatcher() { .... }; }