Closed ezaquarii closed 6 years ago
Passing device capabilities in Bundle extras requires manual transformations, as types do not support neither Serializable nor Parcelable.
Implementing Parcelable is overkill, as those PODs are not used in any performance-critical code.
Make all Capabilities members serializable, so they can be passed into DialogFragment inside extras.
Looks good, thanks for the effort 👍 Somehow didn't thought about making it Serializable from the beginning
Serializable
Passing device capabilities in Bundle extras requires manual transformations, as types do not support neither Serializable nor Parcelable.
Implementing Parcelable is overkill, as those PODs are not used in any performance-critical code.
Make all Capabilities members serializable, so they can be passed into DialogFragment inside extras.