Bundleable.Creator


public interface Bundleable.Creator<T extends Bundleable>


Summary

Public methods

abstract T

Restores a Bundleable instance from a Bundle produced by toBundle.

Public methods

fromBundle

abstract T fromBundle(Bundle bundle)

Restores a Bundleable instance from a Bundle produced by toBundle.

It guarantees the compatibility of Bundle representations produced by different versions of toBundle by providing best default values for missing fields. It throws an exception if any essential fields are missing.