question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Suggestion] Flatten Layout hierarchy by using constraintlayout

See original GitHub issue

Issue details / Repro steps / Use case background: Do you think it would be better if we use constraintlayout in appintro_intro_layout 1 and 2? That way we might gain some performance. But then we would have a dependency on constraintlayout… If you agree I will submit a PR with the required changes, so let me know what you think.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
cortinicocommented, Feb 26, 2019

Let’s go for com.github.appintro.example 😃 (no uppercase)

1reaction
cortinicocommented, Feb 24, 2019

That’s a good idea 😃

That way we might gain some performance

I think that the performance gain/impact here is really minimal. I’d rather point out that this will cleanup the code a bit and modernize the layout generally.

But then we would have a dependency on constraintlayout

Not a major problem as ConstraintLayout starts to be widely used, so we won’t impact the user of the library so much.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Build a Responsive UI with ConstraintLayout
ConstraintLayout allows you to create large and complex layouts with a flat view hierarchy (no nested view groups). It's similar to RelativeLayout in...
Read more >
Understanding the performance benefits of ConstraintLayout
As this example shows, the layout now has a completely flat hierarchy. This is because ConstraintLayout allows you to build complex layouts ......
Read more >
The Essential Components of ConstraintLayout
A flat view hierarchy is very beneficial in the case of performance analysis. We could say that ConstraintLayout is the combination of the...
Read more >
Android ConstraintLayout Example Tutorial
The aim of ConstraintLayout is to improve the performance of the applications by removing the nested views with a flat and flexible design....
Read more >
Jetpack Compose's Rows and Column or ConstraintLayout?
Since then the Google team has advocated developers to use ConstraintLayout, simply because it is a flattened hierarchy, and will result in…
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found