Skip to content
This repository has been archived by the owner on Apr 24, 2022. It is now read-only.

Commit

Permalink
Make Watch.kt parcelable
Browse files Browse the repository at this point in the history
  • Loading branch information
boswelja committed Aug 12, 2021
1 parent ce4f7a3 commit 2278b3a
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
package com.boswelja.watchconnection.core

import android.os.Parcelable
import java.util.UUID
import kotlinx.parcelize.Parcelize

/**
* The standardised Watch representation.
Expand All @@ -11,12 +13,13 @@ import java.util.UUID
* @param platform The platform identifier string of this watch. You shouldn't need to use this
* outside the calling platform.
*/
@Parcelize
open class Watch(
open val id: UUID,
open val name: String,
open val platformId: String,
open val platform: String
) {
) : Parcelable {

constructor(
name: String,
Expand Down

0 comments on commit 2278b3a

Please sign in to comment.