The Android Developer Challenge is back! Submit your idea before December 2.

VectorComposition

class VectorComposition
kotlin.Any
   ↳ androidx.ui.graphics.vector.VectorComposition

Summary

Public constructors

Public methods

Unit
call(key: Any, invalid: ViewValidator.() -> Boolean, block: () -> Unit)

Unit
call(key: Any, ctor: () -> T, invalid: ViewValidator.(f: T) -> Boolean, block: (f: T) -> Unit)

Unit
emit(key: Any, ctor: () -> T, update: VectorUpdater<VNode>.() -> Unit)

Unit
emit(key: Any, ctor: () -> GroupComponent, update: VectorUpdater<GroupComponent>.() -> Unit, children: () -> Unit)

Any
joinKey(left: Any, right: Any?)

operator V

Properties

VectorComposer

Public constructors

<init>

VectorComposition(composer: VectorComposer)

Public methods

call

inline fun call(
    key: Any,
    invalid: ViewValidator.() -> Boolean,
    block: () -> Unit
): Unit

call

inline fun <T> call(
    key: Any,
    ctor: () -> T,
    invalid: ViewValidator.(f: T) -> Boolean,
    block: (f: T) -> Unit
): Unit

emit

inline fun <T : VNode> emit(
    key: Any,
    ctor: () -> T,
    update: VectorUpdater<VNode>.() -> Unit
): Unit

emit

inline fun emit(
    key: Any,
    ctor: () -> GroupComponent,
    update: VectorUpdater<GroupComponent>.() -> Unit,
    children: () -> Unit
): Unit

joinKey

inline fun joinKey(
    left: Any,
    right: Any?
): Any

unaryPlus

inline operator fun <V> Effect<V>.unaryPlus(): V

Properties

composer

val composer: VectorComposer