get Support Parcelable
Gets parcelable with the value associated to the given key using appropriate API for Android Tiramisu and upwards.
Note: [Bundle.getParcelable(String)] has been deprecated starting with [Build.VERSION_CODES#TIRAMISU]. A Parcelable value, or Return
null
.
Parameters
key
A String
, or null
.
clazz
The type of the object expected.