java - Identical Parcel methods? -


readlist documentation:

read existing list object parcel @ current dataposition(), using given class loader load enclosed parcelables. if null, default class loader used.

readtypedlist documentation:

read given list items containing particular object type written writetypedlist(list) @ current dataposition(). list must have been written via writetypedlist(list) same object type.

i have couple questions because i'm confused each used:

  1. what fundamentally difference between using these 2 methods (with corresponding write methods of course)?

  2. in situations 1 used on other - or can either used marshall/unmarshall lists?

  3. why readlist take classloader parameter, while readtypedlist take creator parameter (the anonymous inner class defined) - what's specific reason this?


Comments

Popular posts from this blog

Android layout hidden on keyboard show -

google app engine - 403 Forbidden POST - Flask WTForms -

c - Why would PK11_GenerateRandom() return an error -8023? -