vendredi 1 juin 2018

How to invoke 3rd party app method with a class object parameters in android without parcelable?

I'm working on an android app that will load 3rd party plugins and pass class objects to them as method arguments.

I figured out that DexClassLoader using reflection would allow me to do what I'm looking for, but I would need to change all classes I'm going to use to implement parcelable.

Problem, I can't change all the classes I need to implement parcelable.

Is there a way to achieve what I'm looking for without implementing parcelable? If not, is there any other way than DexClassLoader to do that?





Aucun commentaire:

Enregistrer un commentaire