Created
October 13, 2019 15:02
-
-
Save kirich1409/0cee168ce4cd438c368caabd0df2bbd7 to your computer and use it in GitHub Desktop.
Jetpack Compose sample. Use composable function as content of an Activity
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 MainActivity : AppCompatActivity() { | |
override fun onCreate(savedInstanceState: Bundle?) { | |
super.onCreate(savedInstanceState) | |
setContent { Hello("Jetpack Compose") } | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment