Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

FragmentResultListener

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 Unit
onFragmentResult(@NonNull requestKey: String, @NonNull result: Bundle)

Callback used to handle results passed between fragments.

Public methods

onFragmentResult

abstract fun onFragmentResult(
    @NonNull requestKey: String,
    @NonNull result: Bundle
): Unit

Callback used to handle results passed between fragments.

Parameters
requestKey String: key used to store the result
result Bundle: result passed to the callback