OnScreenResultListener


interface OnScreenResultListener


A listener to provide the result set by a Screen.

Summary

Public functions

Unit
onScreenResult(result: Any?)

Provides the result from the Screen that was pushed using pushForResult, or null if no result was set.

Public functions

onScreenResult

Added in 1.0.0
fun onScreenResult(result: Any?): Unit

Provides the result from the Screen that was pushed using pushForResult, or null if no result was set.

This callback will be called right before the androidx.lifecycle.Lifecycle.State of the Screen that set the result becomes DESTROYED.

Parameters
result: Any?

the result provided by the Screen that was pushed using pushForResult or null if no result was set

See also
setResult