ExtendableStyleBuilder

class ExtendableStyleBuilder<V : View> : StyleBuilder<ExtendableStyleBuilder<V>, StyleApplier<*, V>>

Meant to be extended with attribute and linked style functions

Constructors

ExtendableStyleBuilder
Link copied to clipboard
fun ExtendableStyleBuilder()

Functions

add
Link copied to clipboard
fun add(attributeSet: AttributeSet?): ExtendableStyleBuilder<V>
Passing a null AttributeSet is a no-op, for convenience
fun add(style: Style): ExtendableStyleBuilder<V>
fun add(@StyleRes() styleRes: Int): ExtendableStyleBuilder<V>
apply
Link copied to clipboard
fun apply(): StyleApplier<*, V>
build
Link copied to clipboard
fun build(): Style
consumeProgrammaticStyleBuilder
Link copied to clipboard
open override fun consumeProgrammaticStyleBuilder()
debugName
Link copied to clipboard
fun debugName(name: String): ExtendableStyleBuilder<V>
Assigns a name to the style which will be displayed in "same attributes" assertions, ie this is only useful for debugging
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int

Properties

builder
Link copied to clipboard
open override var builder: ProgrammaticStyle.Builder