@ Implementation ( maxSdk = JELLY_BEAN_MR1 ) @ SuppressWarnings ( "TypeParameterUnusedInFormals" ) protected < T extends Parcelable > T readParcelable ( ClassLoader loader ) { // prior to JB MR2, readParcelableCreator() is inlined here. Parcelable . Creator < ? > creator = readParcelableCreator ( loader ) ; if ( creator == null ) { return null ; } if ( creator instanceof Parcelable . ClassLoaderCreator < ? > ) { Parcelable . ClassLoaderCreator < ? > classLoaderCreator = ( Parcelable . ClassLoaderCreator < ? > ) creator ; return ( T ) classLoaderCreator . createFromParcel ( realObject , loader ) ; } return ( T ) creator . createFromParcel ( realObject ) ; }
this needs to start above 0 which is a magic number to Parcel