jeudi 1 juin 2017

Does Parceler library use reflection?

In the description of the library, you can read that it uses code generation. A bit further you can read this:

Be careful not to use private fields when using the default field serialization strategy as it will incur a performance penalty due to reflection.

Now that confuses me! Does it use reflection or code generation. And if it does use reflection, I don't see the point of such library since the whole point of Parcelables is to avoid Serializables that use reflection?





Aucun commentaire:

Enregistrer un commentaire