Reputation: 1709
New job, new project. I'm walking into code that has Fragments within fragments within fragments. (The deepest example I've seen so far is 5 fragments deep, but I'm still new to the code.)
I've read about Android UI optimizing and how flattening a layout can improve performance. Does this same principle apply to fragments?
thanks for the help, eimmer
Upvotes: 1
Views: 324
Reputation: 8395
Yes, the fragments will be nestled in the same way.
You can use Hierarchy Viewer to inspect your layouts. Great when optimizing the structure!
Cheers!
Upvotes: 1