class HelperReference : ConstraintReference, Facade

Known direct subclasses
AlignHorizontallyReference
AlignVerticallyReference
BarrierReference
ChainReference

HelperReference for Chains.

FlowReference

The FlowReference class can be used to store the relevant properties of a Flow Helper when parsing the Flow Helper information in a JSON representation.

GridReference

A HelperReference of a Grid Helper that helps enable Grid in Compose


Summary

Public constructors

HelperReference(state: State!, type: State.Helper!)

Public functions

HelperReference!
add(objects: Array<Any!>!)
Unit
Unit

Allows the derived classes to invoke the apply method in the ConstraintReference

ConstraintWidget!
HelperWidget!
State.Helper!
Unit
setHelperWidget(helperWidget: HelperWidget!)

Protected properties

State!
ArrayList<Any!>!

Inherited functions

From androidx.constraintlayout.core.state.ConstraintReference
Unit
addCustomColor(name: String!, color: Int)
Unit
addCustomFloat(name: String!, value: Float)
ConstraintReference!
alpha(alpha: Float)
Unit

apply all the constraints attributes of the mConstraintWidget

ConstraintReference!
ConstraintReference!
baselineToBaseline(reference: Any!)
ConstraintReference!
baselineToBottom(reference: Any!)
ConstraintReference!
baselineToTop(reference: Any!)
ConstraintReference!
bias(value: Float)
ConstraintReference!
ConstraintReference!
bottomToBottom(reference: Any!)
ConstraintReference!
bottomToTop(reference: Any!)
ConstraintReference!
centerHorizontally(reference: Any!)
ConstraintReference!
centerVertically(reference: Any!)
ConstraintReference!
circularConstraint(reference: Any!, angle: Float, distance: Float)
ConstraintReference!
ConstraintReference!

Clears all constraints.

ConstraintReference!
ConstraintReference!
ConstraintWidget!
ConstraintReference!
end()
ConstraintReference!
endToEnd(reference: Any!)
ConstraintReference!
endToStart(reference: Any!)
Float
Facade!
Dimension!
Int
Float
Any!
Float
Float
Float
Float
Float
Float
Float
String!
Float
Float
Float
Int
Float
Any!
Dimension!
ConstraintReference!
height(dimension: Dimension!)
ConstraintReference!
ConstraintReference!
ConstraintReference!
leftToLeft(reference: Any!)
ConstraintReference!
leftToRight(reference: Any!)
ConstraintReference!
margin(marginValue: Any!)
ConstraintReference!
margin(value: Int)
ConstraintReference!
marginGone(marginGoneValue: Any!)
ConstraintReference!
marginGone(value: Int)
ConstraintReference!
ConstraintReference!
ConstraintReference!
ConstraintReference!
rightToLeft(reference: Any!)
ConstraintReference!
rightToRight(reference: Any!)
ConstraintReference!
ConstraintReference!
ConstraintReference!
ConstraintReference!
ConstraintReference!
Unit
Unit
setFacade(facade: Facade!)
ConstraintReference!
setHeight(dimension: Dimension!)
Unit
Unit
Unit
setKey(key: Any!)
Unit
setTag(tag: String!)
Unit
Unit
Unit
setView(view: Any!)
ConstraintReference!
setWidth(dimension: Dimension!)
ConstraintReference!
ConstraintReference!
startToEnd(reference: Any!)
ConstraintReference!
startToStart(reference: Any!)
ConstraintReference!
top()
ConstraintReference!
topToBottom(reference: Any!)
ConstraintReference!
topToTop(reference: Any!)
ConstraintReference!
ConstraintReference!
ConstraintReference!
Unit

Validate the constraints

ConstraintReference!
ConstraintReference!
visibility(visibility: Int)
ConstraintReference!
width(dimension: Dimension!)

Public constructors

HelperReference

Added in 1.1.0
HelperReference(state: State!, type: State.Helper!)

Public functions

add

fun add(objects: Array<Any!>!): HelperReference!

apply

fun apply(): Unit

applyBase

Added in 1.1.0
fun applyBase(): Unit

Allows the derived classes to invoke the apply method in the ConstraintReference

getConstraintWidget

fun getConstraintWidget(): ConstraintWidget!

getHelperWidget

Added in 1.1.0
fun getHelperWidget(): HelperWidget!

getType

Added in 1.1.0
fun getType(): State.Helper!

setHelperWidget

Added in 1.1.0
fun setHelperWidget(helperWidget: HelperWidget!): Unit

Protected properties

mHelperState

Added in 1.1.0
protected val mHelperStateState!

mReferences

Added in 1.1.0
protected val mReferencesArrayList<Any!>!