public class ExtensionState<State>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
void |
acquireMountReference(long id,
boolean isMounting) |
void |
afterMount() |
void |
beforeMount(Rect localVisibleRect,
java.lang.Object input) |
void |
beforeMountItem(RenderTreeNode renderTreeNode,
int index) |
MountExtension<?,State> |
getExtension() |
MountDelegate |
getMountDelegate() |
Host |
getRootHost() |
State |
getState() |
void |
onBindItem(RenderUnit renderUnit,
java.lang.Object content,
java.lang.Object layoutData) |
void |
onBoundsAppliedToItem(RenderUnit renderUnit,
java.lang.Object content,
java.lang.Object layoutData) |
void |
onMountItem(RenderUnit<?> renderUnit,
java.lang.Object content,
java.lang.Object layoutData) |
void |
onUnbind() |
void |
onUnbindItem(RenderUnit renderUnit,
java.lang.Object content,
java.lang.Object layoutData) |
void |
onUnmount() |
void |
onUnmountItem(RenderUnit<?> renderUnit,
java.lang.Object content,
java.lang.Object layoutData) |
void |
onVisibleBoundsChanged(Rect rect) |
boolean |
ownsReference(long id) |
void |
releaseAllAcquiredReferences() |
void |
releaseMountReference(long id,
boolean isMounting) |
boolean |
shouldUpdateItem(RenderUnit<?> previousRenderUnit,
java.lang.Object previousLayoutData,
RenderUnit<?> nextRenderUnit,
java.lang.Object nextLayoutData) |
public Host getRootHost()
public MountExtension<?,State> getExtension()
public MountDelegate getMountDelegate()
public State getState()
public void releaseAllAcquiredReferences()
public void acquireMountReference(long id, boolean isMounting)
public void releaseMountReference(long id, boolean isMounting)
public boolean ownsReference(long id)
public void beforeMount(Rect localVisibleRect, java.lang.Object input)
public void afterMount()
public void beforeMountItem(RenderTreeNode renderTreeNode, int index)
public void onVisibleBoundsChanged(Rect rect)
public void onUnbind()
public void onUnmount()
public void onBindItem(RenderUnit renderUnit, java.lang.Object content, java.lang.Object layoutData)
public void onUnbindItem(RenderUnit renderUnit, java.lang.Object content, java.lang.Object layoutData)
public void onUnmountItem(RenderUnit<?> renderUnit, java.lang.Object content, java.lang.Object layoutData)
public void onMountItem(RenderUnit<?> renderUnit, java.lang.Object content, java.lang.Object layoutData)
public void onBoundsAppliedToItem(RenderUnit renderUnit, java.lang.Object content, java.lang.Object layoutData)
public boolean shouldUpdateItem(RenderUnit<?> previousRenderUnit, java.lang.Object previousLayoutData, RenderUnit<?> nextRenderUnit, java.lang.Object nextLayoutData)