Skip to content

Instantly share code, notes, and snippets.

@hsmnzaydn
Created June 18, 2022 21:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save hsmnzaydn/05e626cf20bbc72855534d48f56fe2da to your computer and use it in GitHub Desktop.
Save hsmnzaydn/05e626cf20bbc72855534d48f56fe2da to your computer and use it in GitHub Desktop.
class MainActivity : ComponentActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
super.onCreate(savedInstanceState)
setContent {
MaterialTheme {
Surface(
modifier = Modifier.fillMaxSize(),
color = MaterialTheme.colorScheme.background
) {
LazyColumn(){
items(listOf<String>("","")){
ItemView()
}
}
}
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment