Udostępnij za pośrednictwem


TypedArray.Recycle Method

Definition

Recycles the TypedArray, to be re-used by a later caller.

[Android.Runtime.Register("recycle", "()V", "GetRecycleHandler")]
public virtual void Recycle ();
[<Android.Runtime.Register("recycle", "()V", "GetRecycleHandler")>]
abstract member Recycle : unit -> unit
override this.Recycle : unit -> unit
Attributes

Exceptions

if the TypedArray has already been recycled.

Remarks

Recycles the TypedArray, to be re-used by a later caller. After calling this function you must not ever touch the typed array again.

Java documentation for android.content.res.TypedArray.recycle().

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