clearEvents

abstract fun clearEvents()

Clears the event queue. This method is typically used when a new screen is loaded. The events from the previous screen have to be ignored.