Gallery.SetCallbackDuringFling(Boolean) Method

Definition

Caution

deprecated

Whether or not to callback on any #getOnItemSelectedListener() while the items are being flinged.

[Android.Runtime.Register("setCallbackDuringFling", "(Z)V", "GetSetCallbackDuringFling_ZHandler")]
[System.Obsolete("deprecated")]
public virtual void SetCallbackDuringFling (bool shouldCallback);
[<Android.Runtime.Register("setCallbackDuringFling", "(Z)V", "GetSetCallbackDuringFling_ZHandler")>]
[<System.Obsolete("deprecated")>]
abstract member SetCallbackDuringFling : bool -> unit
override this.SetCallbackDuringFling : bool -> unit

Parameters

shouldCallback
Boolean

Whether or not to callback on the listener while the items are being flinged.

Attributes

Remarks

Whether or not to callback on any #getOnItemSelectedListener() while the items are being flinged. If false, only the final selected item will cause the callback. If true, all items between the first and the final will cause callbacks.

Java documentation for android.widget.Gallery.setCallbackDuringFling(boolean).

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