Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change constraints to linears for more flexibility #45

Open
ryenyuku opened this issue Dec 1, 2020 · 1 comment
Open

Change constraints to linears for more flexibility #45

ryenyuku opened this issue Dec 1, 2020 · 1 comment
Assignees
Labels
future version Current issue will be fixed in the future version TODO
Milestone

Comments

@ryenyuku
Copy link
Member

ryenyuku commented Dec 1, 2020

Current version is very heavy at inflating views because of constraintlayout.

@ryenyuku ryenyuku added TODO future version Current issue will be fixed in the future version labels Dec 1, 2020
@ryenyuku ryenyuku added this to the 4.0.0 milestone Dec 1, 2020
@ryenyuku ryenyuku self-assigned this Dec 1, 2020
@iyxan23
Copy link
Member

iyxan23 commented Dec 2, 2020

Well, First of all, i appreciate your idea of using LinearLayout instead of ConstraintLayout with the reason "too heavy to inflate". You know, ConstraintLayout is a new thing, it's purpose is to allow you to position all of your children without having to nest any other ViewGroups inside the ConstraintLayout. It makes development faster and easier, even if it is a bit heavier than LinearLayout you will only need 1 ConstraintLayout to make a whole layout, but with LinearLayout you will need to nest it over other LinearLayouts to create a complex UI, not only will it take longer to create, but it also consumes more memory and that leads into performace issue. And by that being said, ConstraintLayout is slowly becoming a standard for most android layouts.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
future version Current issue will be fixed in the future version TODO
Projects
None yet
Development

No branches or pull requests

2 participants