Package icyllis.modernui.fragment
Interface FragmentResultListener
public interface 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, DataSet)
.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionvoid
onFragmentResult
(String requestKey, DataSet result) Callback used to handle results passed between fragments.
-
Method Details
-
onFragmentResult
Callback used to handle results passed between fragments.- Parameters:
requestKey
- key used to store the resultresult
- result passed to the callback
-