If I get a parcelable extra from an intent how can...
# android
s
If I get a parcelable extra from an intent how can I convince the compiler that it's of one specific type? (the likes of
Copy code
intent.getParcelableExtra(key) as Type
or
Copy code
intent.<Type>getParcelableExtra(key)
, but something that works)