Skip to content
This repository was archived by the owner on Dec 27, 2024. It is now read-only.
This repository was archived by the owner on Dec 27, 2024. It is now read-only.

ConstraintSet.clone does not clone custom constraints #861

@bishiboosh

Description

@bishiboosh

When using ConstraintSet.clone to clone an existing ConstraintSet, its properties are cloned, but custom constraints aren't, whereas other "copy" methods like readFallback do copy custom attributes. Is there a reason for that ?

Activity

changed the title [-]`ConstraintSet.clone` does not clone custom attributes[/-] [+]`ConstraintSet.clone` does not clone custom constraints[/+] on Oct 11, 2024
bishiboosh

bishiboosh commented on Oct 11, 2024

@bishiboosh
Author

(if this is indeed a bug, I can totally make a PR and add the needed code to clone the custom constraints)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bishiboosh

        Issue actions

          `ConstraintSet.clone` does not clone custom constraints · Issue #861 · androidx/constraintlayout