News for hackers. Stuff that matters.
Re:Show HN: Realm for Android by makeramen on Tuesday September 30, 2014 @05:33PM (#8391418)
I use Parceler (https://github.com/johncarl81/parceler) with gson. So gson for network data, then parceler for passing parcels around between activities/fragments.
Re:Show HN: Realm for Android by zackb on Tuesday September 30, 2014 @06:08PM (#8391627)
Doesn't this require annotating the class? What if I can't change the class implementation?
Re:Show HN: Realm for Android by johncarl81 on Saturday October 04, 2014 @01:49PM (#8410010)
One way to use Parceler is to annotate the class. There are a lot of other options though, including configuring the class outside of the class using @ParcelClass (useful for libraries) or writing a ParcelConverter.