MountSpecLithoRenderUnit

class MountSpecLithoRenderUnit : LithoRenderUnit, ContentAllocator<Any>

This RenderUnit encapsulates a Litho output to be mounted using Render Core.

Types

Link copied to clipboard
object Companion
Link copied to clipboard
annotation class UpdateState

Properties

Link copied to clipboard
Link copied to clipboard
open override val contentAllocator: ContentAllocator<Any>
Link copied to clipboard
Link copied to clipboard
open override val debugKey: String
Link copied to clipboard
open override val description: String
Link copied to clipboard
val flags: Int
Link copied to clipboard
open override val id: Long
Link copied to clipboard
Link copied to clipboard
open override val matchHostBounds: Boolean
Link copied to clipboard
Link copied to clipboard
open val onContentDiscarded: (Any) -> Unit?
Link copied to clipboard
open override val poolingPolicy: PoolingPolicy
Link copied to clipboard
val renderType: RenderUnit.RenderType
Link copied to clipboard

Functions

Link copied to clipboard
open fun acquireContent(context: Context, poolScope: PoolScope): Any
Link copied to clipboard
open fun addAttachBinder(binder: RenderUnit.DelegateBinder<*, in Any, *>)
Link copied to clipboard
fun addAttachBinders(vararg binders: RenderUnit.DelegateBinder<*, in Any, *>)
Link copied to clipboard
open fun addOptionalMountBinder(binder: RenderUnit.DelegateBinder<*, in Any, *>)
Link copied to clipboard
fun addOptionalMountBinders(vararg binders: RenderUnit.DelegateBinder<*, in Any, *>)
Link copied to clipboard
open fun attachBinders(context: Context, content: Any, layoutData: Any?, bindData: BindData, tracer: Systracer)
Link copied to clipboard
Link copied to clipboard
open fun containsAttachBinder(delegateBinder: RenderUnit.DelegateBinder<*, *, *>): Boolean
Link copied to clipboard
open fun containsOptionalMountBinder(delegateBinder: RenderUnit.DelegateBinder<*, *, *>): Boolean
Link copied to clipboard
open override fun createContent(c: Context): Any
Link copied to clipboard
open fun detachBinders(context: Context, content: Any, layoutData: Any?, bindData: BindData, tracer: Systracer)
Link copied to clipboard
Link copied to clipboard
open fun <T : RenderUnit.Binder<*, *, *>?> findAttachBinderByClass(klass: Class<T>): T?
Link copied to clipboard
open fun <T> getExtra(key: Int): T?
Link copied to clipboard
open override fun getPoolKey(): Any
Link copied to clipboard
open fun mountBinders(context: Context, content: Any, layoutData: Any?, bindData: BindData, tracer: Systracer)
Link copied to clipboard
open override fun onCreateMountContentPool(poolSizeOverride: Int): MountContentPools.ContentPool?
Link copied to clipboard
open override fun onEndUpdateRenderUnit()
Link copied to clipboard
open override fun onStartUpdateRenderUnit()
Link copied to clipboard
open override fun poolSize(): Int
Link copied to clipboard
open fun recycleContent(context: Context, content: Any, poolScope: PoolScope)
Link copied to clipboard
open fun unmountBinders(context: Context, content: Any, layoutData: Any?, bindData: BindData, tracer: Systracer)
Link copied to clipboard
open fun updateBinders(context: Context, content: Any, currentRenderUnit: RenderUnit<Any>, currentLayoutData: Any?, newLayoutData: Any?, mountDelegate: MountDelegate?, bindData: BindData, isAttached: Boolean, tracer: Systracer)