view

fun view(block: ViewBuilder.() -> Unit): View

DSL for creating a custom View.

Parameters

block

used to configure the View