Skip to content

Instantly share code, notes, and snippets.

@lelandrichardson
Created August 27, 2020 21:56
Show Gist options
  • Save lelandrichardson/d6206fc75614f1c4cfcadb646bc17c1a to your computer and use it in GitHub Desktop.
Save lelandrichardson/d6206fc75614f1c4cfcadb646bc17c1a to your computer and use it in GitHub Desktop.
@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