eimmer
eimmer

Reputation: 1709

Android Embedded Fragment

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

Answers (1)

mach
mach

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

Related Questions