Skip to content

Instantly share code, notes, and snippets.

@devDeejay
Created October 2, 2021 19:37
Show Gist options
  • Save devDeejay/8bb158d55486bc93db401b998745cffc to your computer and use it in GitHub Desktop.
Save devDeejay/8bb158d55486bc93db401b998745cffc to your computer and use it in GitHub Desktop.
@Composable
fun GreetUser(name: String) {
Row {
Image(
painter = painterResource(
id = R.drawable.ic_launcher_background
), contentDescription = "Some cool image"
)
Column {
Text(text = "Hello!")
Text(text = name)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment