Skip to content

Instantly share code, notes, and snippets.

@AlexZhukovich
Created February 6, 2020 22:10
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 AlexZhukovich/1bef080c70dfc5d9360f421b18adf1cf to your computer and use it in GitHub Desktop.
Save AlexZhukovich/1bef080c70dfc5d9360f421b18adf1cf to your computer and use it in GitHub Desktop.
fun getCoffeeDrinks(): List<CoffeeDrink> {
return listOf(
CoffeeDrink(
name = "Americano",
imageUrl = R.drawable.americano_small,
ingredients = "Espresso, Water"
),
CoffeeDrink(
name = "Cappuccino",
imageUrl = R.drawable.cappuccino_small,
ingredients = "Espresso, Steamed milk foam"
),
CoffeeDrink(
name = "Espresso",
imageUrl = R.drawable.espresso_small,
ingredients = "Ground coffee, Water"
)
...
)
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment