Created
March 27, 2019 11:16
-
-
Save Frederikos/ceb9a65af6fa8fb9d36d0004df2647f5 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 TitleItemViewModel { | |
public final ObservableField<String> title = new ObservableField<>(); | |
public TitleItemViewModel() { | |
title.set("Some title"); | |
} | |
public void titleClicked(View view) { | |
title.set("Title clicked"); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment