public static interface PreferenceManager.OnActivityStopListener

android.preference.PreferenceManager.OnActivityStopListener



This interface was deprecated in API level 29.
Use the AndroidX Preference Library for consistent behavior across all devices. For more information on using the AndroidX Preference Library see Settings.

Interface definition for a class that will be called when the container's activity is stopped.

Summary

Public methods

abstract void onActivityStop()

See Activity's onStop.

Public methods

onActivityStop

public abstract void onActivityStop ()

See Activity's onStop.

Content and code samples on this page are subject to the licenses described in the Content License. Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.

Last updated 2025-02-10 UTC.