Created
July 24, 2015 05:31
-
-
Save Kotlin-Native/e3506a9885a780b40dbc 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
@Override | |
protected void onCreate(Bundle savedInstanceState) { | |
super.onCreate(savedInstanceState); | |
ActivityUserBinding binding = DataBindingUtil.setContentView(this, R.layout.user_activity); | |
User user = new User("firstName", "lastName"); | |
binding.setUser(user); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment