Partager via


FragmentController.DispatchLowMemory Method

Definition

Lets all Fragments managed by the controller's FragmentManager know the device is in a low memory condition.

[Android.Runtime.Register("dispatchLowMemory", "()V", "GetDispatchLowMemoryHandler", ApiSince=23)]
public virtual void DispatchLowMemory ();
[<Android.Runtime.Register("dispatchLowMemory", "()V", "GetDispatchLowMemoryHandler", ApiSince=23)>]
abstract member DispatchLowMemory : unit -> unit
override this.DispatchLowMemory : unit -> unit
Attributes

Remarks

Lets all Fragments managed by the controller's FragmentManager know the device is in a low memory condition.

Call when the device is low on memory and Fragment's should trim their memory usage.

Java documentation for android.app.FragmentController.dispatchLowMemory().

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to