Skip to content

Instantly share code, notes, and snippets.

@Kaaveh

Kaaveh/Market.kt Secret

Created September 24, 2023 03:57
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 Kaaveh/6414e7afd9dbef05f3f6a47585a3b79a to your computer and use it in GitHub Desktop.
Save Kaaveh/6414e7afd9dbef05f3f6a47585a3b79a to your computer and use it in GitHub Desktop.
import android.os.Parcelable
import kotlinx.parcelize.Parcelize
@Parcelize
data class Market(
val id: String,
val name: String,
val currentPrice: Double,
val imageUrl: String,
var isFavorite: Boolean = false,
): Parcelable
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment