public interface

ConstraintLayout.ValueModifier

 androidx.constraintlayout.widget.ConstraintLayout.ValueModifier

Overview

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

Summary

Methods
public booleanupdate(int width, int height, int id, View view, ConstraintLayout.LayoutParams params)

if needed in the implementation modify params and return true

Methods

public boolean update(int width, int height, int id, View view, ConstraintLayout.LayoutParams params)

if needed in the implementation modify params and return true

Parameters:

width: of the ConstraintLayout in pixels
height: of the ConstraintLayout in pixels
id: The id of the view which
view: The View
params: The layout params of the view

Returns:

true if you modified the layout params