Tim Moores wrote:Whether (and how) you use bottom navigation is a design detail that has little impact on the architecture. I doubt there is much information about how specific apps are architected. For general advice on that, start reading at https://developer.android.com/jetpack/guide. Also note that with just about any architecture it's still possible to write sluggish apps - a good architecture just makes it easier to avoid that
Campbell Ritchie wrote:priyanshi bhardwaj,
I have merged your topic into this topic. I hope that helps.
priyanshi bhardwaj wrote:
Campbell Ritchie wrote:priyanshi bhardwaj,
I have merged your topic into this topic. I hope that helps.
I am sorry but which topic to which topic ? I am unable to understand
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
priyanshi bhardwaj wrote:As per my current debugging Anr reasons is multiple switches in bottom navigation. As I am using Navigation component so on every switch my fragment is getting recreated which is causing ANR in my app.
Tim Holloway wrote:I don't know what an "ANR" is. We prefer that people avoid using acronyms where possible.
Tim Moores wrote:
ANR (Application Not Responding) is a term every Android developer would be familiar with, so I think it's fair game in this forum.
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
Tim Holloway wrote:Lots of platforms have situations where the application becomes unresponsive. None of them have ever used the term "ANR" that I'm aware of. Not desktop apps, not webapps. Say "ANR" in forums dedicated to such beasts and you'll just get blank stares.
Nor am I aware that "ANR" is a term defined in any of my Android books (admittedly, they're rather ancient). Plus it's a vague term, ...
I'm going to be a "small government" candidate. I'll be the government. Just me. No one else.
I'm sure glad that he's gone. Now I can read this tiny ad in peace!
The Low Tech Laboratory Movie Kickstarter is LIVE NOW!
https://www.kickstarter.com/projects/paulwheaton/low-tech
|