Partager via


View.RefreshDrawableState Method

Definition

Call this to force a view to update its drawable state.

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

Remarks

Call this to force a view to update its drawable state. This will cause drawableStateChanged to be called on this view. Views that are interested in the new state should call getDrawableState.

Java documentation for android.view.View.refreshDrawableState().

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

See also