Created
August 27, 2020 21:56
-
-
Save lelandrichardson/d6206fc75614f1c4cfcadb646bc17c1a 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 Google(number: Int) { | |
Address( | |
number=number, | |
street="Amphitheatre Pkwy", | |
city="Mountain View", | |
state="CA" | |
zip="94043" | |
) | |
} | |
@Composable fun Address( | |
number: Int, | |
street: String, | |
city: String, | |
state: String, | |
zip: String | |
) { | |
Text("$number $street") | |
Text(city) | |
Text(", ") | |
Text(state) | |
Text(" ") | |
Text(zip) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment