Handle Event - History

#1

Hello,

I’m trying to draw with MicroEJ.
I have the impression that the quicker I draw the less points I get.
On some framework, you can have access to the history into the event, can microEJ provide such information ?

Best regards,
Etienne

#2

Hi Etienne,

Events are put in a queue and you will handle them as is, one event does not come with its history (with history, I guess you are speaking about the previous events). If you need to record the history of events, I would recommend you to use an EventsWatcherAggregator with an EventWatch storing the events.

You can add it with
<dependency org=“ej.library.ui” name=“events-watcher” rev=“2.+”/>

Regards,