IncrementalMountUtils
object IncrementalMountUtils
Provides methods for enabling incremental mount.
Types
Link copied to clipboard
interface WrapperView
A view that wraps a child view and that provides a wrapped view to be incrementally mounted.
Properties
Link copied to clipboard
When true, layout-triggered incremental mount is skipped in com.facebook.litho.BaseMountingView.performLayout. This avoids expensive mount passes during scroll where layout is triggered by RecyclerView/ViewPager but mount work should be deferred to idle. Callers should set this to true when scroll begins and false at IDLE.
Functions
Link copied to clipboard
Performs incremental mount on all LithoViews within the given View.
Link copied to clipboard
Performs incremental mount on the children views of the given ViewGroup.