public interface MountDelegateTarget
MountState
API to RenderCoreExtension
Modifier and Type | Method and Description |
---|---|
void |
attach() |
void |
detach() |
java.lang.Object |
getContentAt(int position) |
java.lang.Object |
getContentById(long id) |
java.util.ArrayList<Host> |
getHosts() |
MountDelegate |
getMountDelegate() |
MountItem |
getMountItemAt(int position) |
int |
getMountItemCount()
Returns the total number mount items currently mounted.
|
int |
getRenderUnitCount()
Returns the total number render units in the MountState; mounted and unmounted.
|
Host |
getRootHost() |
boolean |
isRootItem(int position) |
void |
mount(RenderTree renderTree) |
boolean |
needsRemount() |
void |
notifyMount(long id) |
void |
notifyUnmount(long id) |
ExtensionState |
registerMountExtension(MountExtension mountExtension)
Deprecated.
Only used for Litho's integration. Marked for removal.
|
void |
removeUnmountDelegateExtension() |
void |
setUnmountDelegateExtension(UnmountDelegateExtension unmountDelegateExtension) |
void |
unbindMountItem(MountItem mountItem) |
void |
unmountAllItems() |
void |
unregisterAllExtensions() |
void notifyMount(long id)
void notifyUnmount(long id)
boolean needsRemount()
void mount(RenderTree renderTree)
void attach()
void detach()
void unmountAllItems()
void unbindMountItem(MountItem mountItem)
boolean isRootItem(int position)
Host getRootHost()
java.lang.Object getContentAt(int position)
java.lang.Object getContentById(long id)
void unregisterAllExtensions()
java.util.ArrayList<Host> getHosts()
MountItem getMountItemAt(int position)
int getMountItemCount()
int getRenderUnitCount()
void setUnmountDelegateExtension(UnmountDelegateExtension unmountDelegateExtension)
void removeUnmountDelegateExtension()
MountDelegate getMountDelegate()
@Deprecated ExtensionState registerMountExtension(MountExtension mountExtension)
mountExtension
-