ConstraintLayout.ValueModifier


interface ConstraintLayout.ValueModifier


This is the interface to a valued modifier. implement this and add it using addValueModifier

Summary

Public functions

Boolean
update(
    width: Int,
    height: Int,
    id: Int,
    view: View!,
    params: ConstraintLayout.LayoutParams!
)

if needed in the implementation modify params and return true

Public functions

update

Added in 2.2.0
fun update(
    width: Int,
    height: Int,
    id: Int,
    view: View!,
    params: ConstraintLayout.LayoutParams!
): Boolean

if needed in the implementation modify params and return true

Parameters
width: Int

of the ConstraintLayout in pixels

height: Int

of the ConstraintLayout in pixels

id: Int

The id of the view which

view: View!

The View

params: ConstraintLayout.LayoutParams!

The layout params of the view

Returns
Boolean

true if you modified the layout params