共用方式為


Resources.FlushLayoutCache Method

Definition

Call this to remove all cached loaded layout resources from the Resources object.

[Android.Runtime.Register("flushLayoutCache", "()V", "")]
public void FlushLayoutCache ();
[<Android.Runtime.Register("flushLayoutCache", "()V", "")>]
member this.FlushLayoutCache : unit -> unit
Attributes

Remarks

Call this to remove all cached loaded layout resources from the Resources object. Only intended for use with performance testing tools.

Java documentation for android.content.res.Resources.flushLayoutCache().

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