ohkk, I was assuming it will be done automatically...
# android
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