How this app's fragments load so faster? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
0

How this app's fragments load so faster?

I'm wondering how is this possible? I've used fragment, loaded added them but keep them hidden. then when needed..showed them..this is the only way I find to show contents faster.. but in this app , obviously all fragments aren't preloaaded.. then how do everything shows so quickly? almost no time to create the views .. any Idea?

3rd Sep 2016, 8:55 AM
dhir
dhir - avatar
2 Respostas
+ 1
not at all .its almost like an activity.. but as a small part of activity, so smaller time to load..But if the code is larger, larger timebto load even ifbit is a fragment
3rd Sep 2016, 9:26 AM
dhir
dhir - avatar
- 1
fragments are very fast ,isn't it?
3rd Sep 2016, 9:00 AM
bayram akdemir
bayram akdemir - avatar