Created
November 29, 2018 23:04
-
-
Save tfcporciuncula/0218fc7b9c52d67d50709b68a8507b2f to your computer and use it in GitHub Desktop.
BestPostActivity
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
class BestPostActivity : AppCompatActivity() { | |
private val viewModel by lazy { | |
ViewModelProviders | |
.of(this, injector.bestPostViewModelFactory()) | |
.get(BestPostViewModel::class.java) | |
} | |
... | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment