dallasgutauckis/parcelabler

Add classLoader to lists and maps

alexoro opened this issue · 2 comments

The List/Map class attribute generates smth like
in.readList(mList, null);

But when the mList cosists of non-android class (i.e. custom class), then the
"BadParcelableException: ClassNotFoundException" will be thrown.
So please add next notification:
"If you map or list consists of custom classes, then modify in.readList(mList, null); to in.readList(mList, getClass().getClassLoader());"
The same message can be used for maps.
See also: http://stackoverflow.com/questions/11393751/badparcelableexception-classnotfoundexception-when-unmarshalling

The classloader has been added.

Was fixed in 3135c98