Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-lifecycle

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

How to manage UI state and the back stack in a single/dual-pane layout

Android live data - observe always fires after config change

Activity and Fragment Lifecycles and Orientation Changes