getSupportParcelableArrayList

Gets parcelable array list with the value associated to the given key using appropriate API for Android Tiramisu and upwards.

Note: [Bundle.getParcelableArrayList(String)] has been deprecated starting with [Build.VERSION_CODES#TIRAMISU].

Return

A Parcelable array list, or null.

Parameters

key

A String, or null.

clazz

The type of the object expected.