Share via


LruCache.Resize(Int32) Method

Definition

Sets the size of the cache.

[Android.Runtime.Register("resize", "(I)V", "GetResize_IHandler")]
public virtual void Resize (int maxSize);
[<Android.Runtime.Register("resize", "(I)V", "GetResize_IHandler")>]
abstract member Resize : int -> unit
override this.Resize : int -> unit

Parameters

maxSize
Int32

The new maximum size.

Attributes

Remarks

Sets the size of the cache.

Java documentation for android.util.LruCache.resize(int).

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