View.OnCancelPendingInputEvents Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Called as the result of a call to #cancelPendingInputEvents()
on this view or
a parent view.
[Android.Runtime.Register("onCancelPendingInputEvents", "()V", "GetOnCancelPendingInputEventsHandler")]
public virtual void OnCancelPendingInputEvents ();
[<Android.Runtime.Register("onCancelPendingInputEvents", "()V", "GetOnCancelPendingInputEventsHandler")>]
abstract member OnCancelPendingInputEvents : unit -> unit
override this.OnCancelPendingInputEvents : unit -> unit
- Attributes
Remarks
Called as the result of a call to #cancelPendingInputEvents()
on this view or a parent view.
This method is responsible for removing any pending high-level input events that were posted to the event queue to run later. Custom view classes that post their own deferred high-level events via #post(Runnable)
, #postDelayed(Runnable, long)
or android.os.Handler
should override this method, call super.onCancelPendingInputEvents()
and remove those callbacks as appropriate.
Java documentation for android.view.View.onCancelPendingInputEvents()
.
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.