public class IncrementalMountRenderCoreExtension extends RenderCoreExtension<IncrementalMountExtensionInput,IncrementalMountExtension.IncrementalMountExtensionState>
Modifier and Type | Class and Description |
---|---|
static class |
IncrementalMountRenderCoreExtension.Results |
static class |
IncrementalMountRenderCoreExtension.Visitor |
Modifier and Type | Field and Description |
---|---|
static java.util.Comparator<IncrementalMountOutput> |
sBottomsComparator |
static java.util.Comparator<IncrementalMountOutput> |
sTopsComparator |
Constructor and Description |
---|
IncrementalMountRenderCoreExtension() |
Modifier and Type | Method and Description |
---|---|
IncrementalMountRenderCoreExtension.Results |
createInput()
Should return a new
Input > to which the LayoutResultVisitor can write into. |
LayoutResultVisitor<IncrementalMountRenderCoreExtension.Results> |
getLayoutVisitor()
The extension can optionally return a
LayoutResultVisitor for every layout pass which
will visit every LayoutResult . |
MountExtension<IncrementalMountExtensionInput,IncrementalMountExtension.IncrementalMountExtensionState> |
getMountExtension()
The extension can optionally return a
MountExtension which can be used to augment the
RenderCore's mounting phase. |
afterMount, beforeMount, notifyVisibleBoundsChanged, recursivelyNotifyVisibleBoundsChanged, recursivelyNotifyVisibleBoundsChanged, shouldUpdate
public static final java.util.Comparator<IncrementalMountOutput> sTopsComparator
public static final java.util.Comparator<IncrementalMountOutput> sBottomsComparator
public LayoutResultVisitor<IncrementalMountRenderCoreExtension.Results> getLayoutVisitor()
RenderCoreExtension
LayoutResultVisitor
for every layout pass which
will visit every LayoutResult
. The visitor should be functional and immutable.getLayoutVisitor
in class RenderCoreExtension<IncrementalMountExtensionInput,IncrementalMountExtension.IncrementalMountExtensionState>
LayoutResultVisitor
.public MountExtension<IncrementalMountExtensionInput,IncrementalMountExtension.IncrementalMountExtensionState> getMountExtension()
RenderCoreExtension
MountExtension
which can be used to augment the
RenderCore's mounting phase. The Input >
collected in the latest layout pass will be
passed to the extension before mount.getMountExtension
in class RenderCoreExtension<IncrementalMountExtensionInput,IncrementalMountExtension.IncrementalMountExtensionState>
MountExtension
.public IncrementalMountRenderCoreExtension.Results createInput()
RenderCoreExtension
Input >
to which the LayoutResultVisitor
can write into.createInput
in class RenderCoreExtension<IncrementalMountExtensionInput,IncrementalMountExtension.IncrementalMountExtensionState>
Input >
for LayoutResultVisitor
to write into.