Google は、黒人コミュニティに対する人種平等の促進に取り組んでいます。取り組みを見る

FragmentResultListener

public interface FragmentResultListener

androidx.fragment.app.FragmentResultListener


Listener for handling fragment results. This object should be passed to FragmentManager.setFragmentResultListener(String, LifecycleOwner, FragmentResultListener) and it will listen for results with the same key that are passed into FragmentManager.setFragmentResult(String, Bundle).

Summary

Public methods

abstract void onFragmentResult(String requestKey, Bundle result)

Callback used to handle results passed between fragments.

Public methods

onFragmentResult

public abstract void onFragmentResult (String requestKey, 
                Bundle result)

Callback used to handle results passed between fragments.

Parameters
requestKey String: key used to store the result

result Bundle: result passed to the callback