I\'m trying to work out the correct way to pass in an Object to a Fragment or DialogFragment without breaking the \'empty constructor\' rule.
For example I have created
You could always use a nice JSON library like GSON or Genson for serializing objects - it is my goto approach for any remotely complex object. GSON is slightly more compact for simple operations but if you have any sort of inheritance / polymorphism in your views, I would highly recommend Genson. You can have a ctr with argument aslong as you document them.
https://code.google.com/p/genson/ - Get the JAR in the download section.