Reorder the lines of code to create a MainActivity class.
Jetpack Compose Project Structure
Constructing a program
Report a typo
Reorder lines using drag or arrows. Adjust indentation with left buttons
}
Text("Hello, Compose!")
override fun onCreate(savedInstanceState: Bundle?) {
setContent {
super.onCreate(savedInstanceState)
class MainActivity : ComponentActivity() {
}
}
___
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.
Create a free account to access the full topic
By continuing, you agree to the JetBrains Academy Terms of Service as well as Hyperskill Terms of Service and Privacy Policy.