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>

Functions

Link copied to clipboard
open fun addCustomAttribute(key: String, value: Any)
Link copied to clipboard
open fun addDebugInfo(key: String, value: Any)
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
abstract fun getName(): String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getSpanSize(): Int
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun getViewType(): Int
Link copied to clipboard
Link copied to clipboard
open fun isFullSpan(): Boolean
Link copied to clipboard
open fun isSticky(): Boolean
Link copied to clipboard
Link copied to clipboard
open fun rendersView(): Boolean
Link copied to clipboard
open fun setViewType(viewType: Int)
Set viewType of current RenderInfo if it was created through create and a custom viewType was not set, or otherwise it will throw .