Created
October 2, 2021 19:37
-
-
Save devDeejay/8bb158d55486bc93db401b998745cffc to your computer and use it in GitHub Desktop.
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
@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