android - activities/fragments' lifecycle methods called in the main thread? -


are activities/framgents' lifecycle methods called in main thread default? i'm implementing class checkes if app in foreground/background. i'm using activities' onpasue/onresume that. make sure don't have synchronize methods of class.

yes, are. in general, if called off main thread documentation state so.


Comments

Popular posts from this blog

Django REST Framework perform_create: You cannot call `.save()` after accessing `serializer.data` -

Why does Go error when trying to marshal this JSON? -