Last active
March 1, 2018 12:22
-
-
Save jakubkinst/0a4cb0f1d6578d6bf17ddf145d1054b5 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
class DetailActivity : AppCompatActivity() { | |
val vmb by vmb<DetailViewModel, ActivityDetailBinding>(R.layout.activity_detail) { | |
DetailViewModel(intent.getStringExtra("itemId")) | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment