ViewInfo

data class ViewInfo
kotlin.Any
   ↳ androidx.ui.tooling.preview.ViewInfo

Class containing the minimum information needed by the Preview to map components to the source code and render boundaries.

Summary

Public constructors

<init>(fileName: String, lineNumber: Int, bounds: PxBounds, children: List<ViewInfo>)

Class containing the minimum information needed by the Preview to map components to the source code and render boundaries.

Public methods

List<ViewInfo>

Boolean

String

Properties

PxBounds

List<ViewInfo>

String

Int

Public constructors

<init>

ViewInfo(
    fileName: String,
    lineNumber: Int,
    bounds: PxBounds,
    children: List<ViewInfo>)

Class containing the minimum information needed by the Preview to map components to the source code and render boundaries.

Public methods

allChildren

fun allChildren(): List<ViewInfo>

hasBounds

fun hasBounds(): Boolean

toString

fun toString(): String

Properties

bounds

val bounds: PxBounds

children

val children: List<ViewInfo>

fileName

val fileName: String

lineNumber

val lineNumber: Int