Created
November 16, 2022 21:32
-
-
Save Ifeo-A/0f2ad46ea1ffbf9042df7205d75e1b28 to your computer and use it in GitHub Desktop.
Nav controller extension to pass objects to destinations
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
@Parcelize | |
data class Recipe( | |
val name: String, | |
val image: String, | |
val ingredients: List<String>, | |
val instructions: List<String>, | |
val servings: String, | |
val timeToPrepare: Time, | |
) : Parcelable |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment