I want to pass an object from a library as a parameter to a Fragment. How can I make it parcelable to put it into a bundle? I tried creating a new class that extended the object and implemented parcelable, but it didn't work.
The library is MPAndroidChart and the object I'm trying to pass is the BarChart.