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
gildor
04/02/2018, 6:39 AM
Without your help compiler just don’t know how to create parcelable from object with type Any
t
Tarun
04/02/2018, 6:40 AM
yes I understand now. Thanks once again...🙂
g
gildor
04/02/2018, 6:41 AM
If you want to do that automatically use something like:
Copy code
// Parcelable or any other interface that implements Parcelable
var tokenType: Parcelable? = null