public class EndToEndTestingExtension extends MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput,java.lang.Void>
Modifier and Type | Class and Description |
---|---|
static interface |
EndToEndTestingExtension.EndToEndTestingExtensionInput |
Constructor and Description |
---|
EndToEndTestingExtension(MountDelegateTarget mountDelegateTarget) |
Modifier and Type | Method and Description |
---|---|
void |
afterMount(ExtensionState<java.lang.Void> extensionState)
Called immediately after mounting.
|
void |
beforeMount(ExtensionState<java.lang.Void> extensionState,
EndToEndTestingExtension.EndToEndTestingExtensionInput input,
Rect localVisibleRect)
Called for setting up input on the extension before mounting.
|
protected java.lang.Void |
createState() |
void |
onUnbind(ExtensionState<java.lang.Void> extensionState)
Called after all the Host's children have been unbound.
|
void |
onUnmount(ExtensionState<java.lang.Void> extensionState)
Called after all the Host's children have been unmounted.
|
void |
onVisibleBoundsChanged(ExtensionState<java.lang.Void> extensionState,
Rect localVisibleRect)
Called when the visible bounds of the Host change.
|
beforeMountItem, canPreventMount, createExtensionState, getContentAt, getContentById, getMountTarget, isLockedForMount, isLockedForMount, isRootItem, onBindItem, onBoundsAppliedToItem, onMountItem, onUnbindItem, onUnmountItem, shouldUpdateItem
public EndToEndTestingExtension(MountDelegateTarget mountDelegateTarget)
protected java.lang.Void createState()
createState
in class MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput,java.lang.Void>
public void beforeMount(ExtensionState<java.lang.Void> extensionState, EndToEndTestingExtension.EndToEndTestingExtensionInput input, Rect localVisibleRect)
MountExtension
beforeMount
in class MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput,java.lang.Void>
extensionState
- The inner state of this extension when beforeMount is called.input
- The new input the extension should use.public void afterMount(ExtensionState<java.lang.Void> extensionState)
MountExtension
afterMount
in class MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput,java.lang.Void>
public void onVisibleBoundsChanged(ExtensionState<java.lang.Void> extensionState, Rect localVisibleRect)
MountExtension
onVisibleBoundsChanged
in class MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput,java.lang.Void>
public void onUnmount(ExtensionState<java.lang.Void> extensionState)
MountExtension
onUnmount
in class MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput,java.lang.Void>
public void onUnbind(ExtensionState<java.lang.Void> extensionState)
MountExtension
onUnbind
in class MountExtension<EndToEndTestingExtension.EndToEndTestingExtensionInput,java.lang.Void>