mercredi 1 février 2017

Probable reflection. EventBus. Android

http://ift.tt/1fXohlF Please look at the 28 slide for the context:

Used in method name onEventXXX

It means that EventBus ( just a framework) is able to iterate by function defined in class runtime. I am C++ programmer so it is unimaginable for me. Yes, I suppose that it is connected with reflection but it is just a suspicion. Please explain how "magic" something like that works.

Don't hesitate to refer to class file because I am familiar with JVM code ( I have some experience with Jasmin)





Aucun commentaire:

Enregistrer un commentaire