toEnum
Unpacks the enum value from the parcel, using classLoader to resolve the enum class name.
Example
val enumValue: SomeEnum = parcelableEnum.toEnum(Application::class.java.classLoader!!)
Content copied to clipboard
Unpacks the enum value from the parcel, using classLoader to resolve the enum class name.
Example
val enumValue: SomeEnum = parcelableEnum.toEnum(Application::class.java.classLoader!!)