public interface UnmountDelegateExtension<State>
MountItem
's unmount responsibility.Modifier and Type | Method and Description |
---|---|
boolean |
shouldDelegateUnmount(ExtensionState<State> extensionState,
MountItem mountItem)
This method is called to check if this item's unmount needs to be delegated.
|
void |
unmount(ExtensionState<State> extensionState,
MountItem mountItem,
Host host)
This method is responsible for unmounting the item from the
Host and unbinding the item
from the MountDelegateTarget . |
boolean shouldDelegateUnmount(ExtensionState<State> extensionState, MountItem mountItem)
extensionState
- mountItem
- void unmount(ExtensionState<State> extensionState, MountItem mountItem, Host host)
Host
and unbinding the item
from the MountDelegateTarget
.mountItem
- host
-