Megosztás a következőn keresztül:


SeekBar.IOnSeekBarChangeListener.OnProgressChanged Method

Definition

Notification that the progress level has changed.

[Android.Runtime.Register("onProgressChanged", "(Landroid/widget/SeekBar;IZ)V", "GetOnProgressChanged_Landroid_widget_SeekBar_IZHandler:Android.Widget.SeekBar/IOnSeekBarChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnProgressChanged (Android.Widget.SeekBar? seekBar, int progress, bool fromUser);
[<Android.Runtime.Register("onProgressChanged", "(Landroid/widget/SeekBar;IZ)V", "GetOnProgressChanged_Landroid_widget_SeekBar_IZHandler:Android.Widget.SeekBar/IOnSeekBarChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnProgressChanged : Android.Widget.SeekBar * int * bool -> unit

Parameters

seekBar
SeekBar

The SeekBar whose progress has changed

progress
Int32

The current progress level. This will be in the range min..max where min and max were set by ProgressBar#setMin(int) and ProgressBar#setMax(int), respectively. (The default values for min is 0 and max is 100.)

fromUser
Boolean

True if the progress change was initiated by the user.

Attributes

Remarks

Notification that the progress level has changed. Clients can use the fromUser parameter to distinguish user-initiated changes from those that occurred programmatically.

Java documentation for android.widget.SeekBar.OnSeekBarChangeListener.onProgressChanged(android.widget.SeekBar, int, 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