ComposeViewAdapter

class ComposeViewAdapter : ViewAdapter
kotlin.Any
   ↳ androidx.compose.adapters.ComposeViewAdapter

Summary

Public constructors

Public methods

Unit
didInsert(view: View, parent: ViewGroup)

Unit
didUpdate(view: View, parent: ViewGroup)

T
get(id: Int, factory: () -> T)

Unit
willInsert(view: View, parent: ViewGroup)

Properties

MutableList<ViewAdapter>

Int

Public constructors

<init>

ComposeViewAdapter()

Public methods

didInsert

fun didInsert(
    view: View,
    parent: ViewGroup
): Unit

didUpdate

fun didUpdate(
    view: View,
    parent: ViewGroup
): Unit

get

inline fun <T : ViewAdapter> get(
    id: Int,
    factory: () -> T
): T

willInsert

fun willInsert(
    view: View,
    parent: ViewGroup
): Unit

Properties

adapters

val adapters: MutableList<ViewAdapter>

id

val id: Int