BaseRenderInfo

abstract class BaseRenderInfo : RenderInfo

Keeps the list item information that will allow the framework to understand how to render it.

SpanSize will be defaulted to 1. It is the information that is required to calculate how much of the SpanCount the component should occupy in a Grid layout.

IsSticky will be defaulted to false. It determines if the component should be a sticky header or not

IsFullSpan will be defaulted to false. It is the information that determines if the component should occupy all of the SpanCount in a StaggeredGrid layout.

ParentWidthPercent determines how much space of the parent container in width the component would take to fill.

ParentHeightPercent determines how much space of the parent container in height the component would take to fill.

Inheritors

Types

Link copied to clipboard
abstract class Builder<T>
Link copied to clipboard
object Companion

Properties

Link copied to clipboard
open override val component: Component
Link copied to clipboard
open override val componentsLogger: ComponentsLogger?
Link copied to clipboard
Link copied to clipboard
open override val isFullSpan: Boolean
Link copied to clipboard
open override val isSticky: Boolean
Link copied to clipboard
open override val logTag: String?
Link copied to clipboard
abstract val name: String
Link copied to clipboard
open override val parentHeightPercent: Float
Link copied to clipboard
open override val parentWidthPercent: Float
Link copied to clipboard
open override val spanSize: Int
Link copied to clipboard
open override val viewBinder: ViewBinder<*>
Link copied to clipboard
open override val viewCreator: ViewCreator<*>
Link copied to clipboard
open override var viewType: Int

Set viewType of current RenderInfo if it was created through ViewRenderInfo.create and a custom viewType was not set, or otherwise it will throw UnsupportedOperationException.

Functions

Link copied to clipboard
open override fun addCustomAttribute(key: String, value: Any?)
Link copied to clipboard
open override fun addDebugInfo(key: String, value: Any?)
Link copied to clipboard
open override fun getCustomAttribute(key: String): Any?
Link copied to clipboard
open override fun getDebugInfo(key: String): Any?
Link copied to clipboard
open override fun hasCustomViewType(): Boolean
Link copied to clipboard
open override fun rendersComponent(): Boolean
Link copied to clipboard
open override fun rendersView(): Boolean