Builder

class Builder(context: Context)

Builder class for creating ExpandableLayout.

Constructors

Builder
Link copied to clipboard
fun Builder(context: Context)

Functions

build
Link copied to clipboard
fun build(): ExpandableLayout
setDuration
Link copied to clipboard
fun setDuration(value: Long): ExpandableLayout.Builder
setExpandableAnimation
Link copied to clipboard
setOnExpandListener
Link copied to clipboard
fun setOnExpandListener(value: OnExpandListener): ExpandableLayout.Builder
fun setOnExpandListener(block: (Boolean) -> Unit): ExpandableLayout.Builder
setParentLayoutResource
Link copied to clipboard
fun setParentLayoutResource(@LayoutRes() value: Int): ExpandableLayout.Builder
setSecondLayoutResource
Link copied to clipboard
fun setSecondLayoutResource(@LayoutRes() value: Int): ExpandableLayout.Builder
setShowSpinner
Link copied to clipboard
fun setShowSpinner(value: Boolean): ExpandableLayout.Builder
setSpinnerAnimate
Link copied to clipboard
fun setSpinnerAnimate(value: Boolean): ExpandableLayout.Builder
setSpinnerDrawable
Link copied to clipboard
fun setSpinnerDrawable(value: Drawable): ExpandableLayout.Builder
setSpinnerMargin
Link copied to clipboard
fun setSpinnerMargin(@Px() value: Float): ExpandableLayout.Builder
setSpinnerRotation
Link copied to clipboard
fun setSpinnerRotation(value: Int): ExpandableLayout.Builder
setSpinnerSize
Link copied to clipboard
fun setSpinnerSize(@Px() value: Float): ExpandableLayout.Builder