FragmentResultListener

interface FragmentResultListener


Listener for handling fragment results. This object should be passed to setFragmentResultListener and it will listen for results with the same key that are passed into setFragmentResult.

See also
setFragmentResultListener

FragmentResultOwner#setFragmentResultListener

Summary

Public methods

abstract @NonNull void
onFragmentResult(@NonNull String requestKey, @NonNull Bundle result)

Callback used to handle results passed between fragments.

Public methods

onFragmentResult

@NonNull
public abstract void onFragmentResult(@NonNull String requestKey, @NonNull Bundle result)

Callback used to handle results passed between fragments.

Parameters
@NonNull String requestKey

key used to store the result

@NonNull Bundle result

result passed to the callback