Udostępnij za pośrednictwem


RatingBar.OnRatingBarChangeListener Property

Definition

Sets the listener to be called when the rating changes.

public virtual Android.Widget.RatingBar.IOnRatingBarChangeListener? OnRatingBarChangeListener { [Android.Runtime.Register("getOnRatingBarChangeListener", "()Landroid/widget/RatingBar$OnRatingBarChangeListener;", "GetGetOnRatingBarChangeListenerHandler")] get; [Android.Runtime.Register("setOnRatingBarChangeListener", "(Landroid/widget/RatingBar$OnRatingBarChangeListener;)V", "GetSetOnRatingBarChangeListener_Landroid_widget_RatingBar_OnRatingBarChangeListener_Handler")] set; }
[<get: Android.Runtime.Register("getOnRatingBarChangeListener", "()Landroid/widget/RatingBar$OnRatingBarChangeListener;", "GetGetOnRatingBarChangeListenerHandler")>]
[<set: Android.Runtime.Register("setOnRatingBarChangeListener", "(Landroid/widget/RatingBar$OnRatingBarChangeListener;)V", "GetSetOnRatingBarChangeListener_Landroid_widget_RatingBar_OnRatingBarChangeListener_Handler")>]
member this.OnRatingBarChangeListener : Android.Widget.RatingBar.IOnRatingBarChangeListener with get, set

Property Value

The listener (may be null) that is listening for rating change events.

Attributes

Remarks

Property getter documentation:

Java documentation for android.widget.RatingBar.getOnRatingBarChangeListener().

Property setter documentation:

Java documentation for android.widget.RatingBar.setOnRatingBarChangeListener(android.widget.OnRatingBarChangeListener).

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