ohkk, I was assuming it will be done automatically as compile time error somehow interprets that it ...
t
ohkk, I was assuming it will be done automatically as compile time error somehow interprets that it will be done via compiler...๐Ÿค” Thanks for the heads-up...๐Ÿ‘
g
Without your help compiler just donโ€™t know how to create parcelable from object with type Any
t
yes I understand now. Thanks once again...๐Ÿ™‚
g
If you want to do that automatically use something like:
Copy code
// Parcelable or any other interface that implements Parcelable

var tokenType: Parcelable? = null
or
Copy code
var tokenType: Serializable? = null