Public methods

registerForActivityResult

Register a request to start an activity for result,
designated by the given contract.
This creates a record in the registry associated wit this
caller, managing request code, as well as conversions to/from Intent under the hood.
This *must* be called unconditionally, as part of initialization path, typically as a field
initializer of an Activity or Fragment.

registerForActivityResult

Register a request to start an activity for result,
designated by the given contract.
This creates a record in the given registry, managing request
code, as well as conversions to/from Intent under the hood.
This *must* be called unconditionally, as part of initialization path, typically as a field
initializer of an Activity or Fragment.