Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-lifecycle

static variable reinitialization on M but not on L due to Application onCreate() called more than once

onActivityCreated is always called?

onStop being called after onDestroy?

Activity Life Cycle

Using Service as singleton in Android

Activity.finish() called but activity stays loaded in memory

How to solve "Cannot access androidx.activity.contextaware.ContextAware'"?

Android - Prevent onResume() function if Activity is loaded for the first time (without using SharedPreferences)

Occasional NPE when accessing fragment's view

is a view's "tag" restored when the activity whose layout contains the view is recreated?

onCreateOptionsMenu in a Fragment lifecycle

Activity with long-lasting service in the background that will not be killed

What's the point of using LiveData in ViewModel if I can use Flow and StateFlow with lifecycleScope \ viewLifecycleOwner.lifecycleScope

save the state when back button is pressed

Android: Duplicating of fragments when using Support Fragment Manager

Access to application class in Broadcast Receiver

AndroidViewModel has no zero argument constructor [duplicate]

BroadcastReceiver lifecycle