Skip to content

Instantly share code, notes, and snippets.

@devDeejay
Created October 2, 2021 14:52
Show Gist options
  • Save devDeejay/0fb34f93196ae3753f3cd47bcca0c262 to your computer and use it in GitHub Desktop.
Save devDeejay/0fb34f93196ae3753f3cd47bcca0c262 to your computer and use it in GitHub Desktop.
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
// This is the block where we will call
// our Composable Functions
setContent {
Text("Hello world!") //<-- Composable Function
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment