class Grouping


Implements a simple grouping mechanism, to group interdependent widgets together. TODO: we should move towards a more leaner implementation -- this is more expensive as it could be.

Summary

Public constructors

Public functions

java-static WidgetGroup!
findDependents(
    constraintWidget: ConstraintWidget!,
    orientation: Int,
    list: ArrayList<WidgetGroup!>!,
    group: WidgetGroup!
)
java-static Boolean
java-static Boolean
validInGroup(
    layoutHorizontal: ConstraintWidget.DimensionBehaviour!,
    layoutVertical: ConstraintWidget.DimensionBehaviour!,
    widgetHorizontal: ConstraintWidget.DimensionBehaviour!,
    widgetVertical: ConstraintWidget.DimensionBehaviour!
)

Public constructors

Grouping

Added in 1.1.0
Grouping()

Public functions

findDependents

Added in 1.1.0
java-static fun findDependents(
    constraintWidget: ConstraintWidget!,
    orientation: Int,
    list: ArrayList<WidgetGroup!>!,
    group: WidgetGroup!
): WidgetGroup!

simpleSolvingPass

Added in 1.1.0
java-static fun simpleSolvingPass(
    layout: ConstraintWidgetContainer!,
    measurer: BasicMeasure.Measurer!
): Boolean

validInGroup

Added in 1.1.0
java-static fun validInGroup(
    layoutHorizontal: ConstraintWidget.DimensionBehaviour!,
    layoutVertical: ConstraintWidget.DimensionBehaviour!,
    widgetHorizontal: ConstraintWidget.DimensionBehaviour!,
    widgetVertical: ConstraintWidget.DimensionBehaviour!
): Boolean