Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

New posts in android-lifecycle

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

Android onCreate is called after locking the screen

When to use getSharedPreferences vs savedInstanceState?

onCreate being called on Activity A in up navigation