Code example for Parcelable.Creator

Methods: createFromParcel

0
                Bundle localBundle;
                if (paramParcel1.readInt() == 0)
                    localBundle = null;
                else 
                    localBundle = (Bundle) Bundle.CREATOR
                            .createFromParcel(paramParcel1);
                startActivity(str2, str1, localBundle);
                paramParcel2.writeNoException();
                break; 
            case 1598968902: 
                paramParcel2
                        .writeString("com.tenpay.android.service.IRemoteServiceCallback");
            } 
            return bool;
        } 
 
        private static class Proxy implements IRemoteServiceCallback { 
            private IBinder mRemote;
 
            Proxy(IBinder paramIBinder) {
                this.mRemote = paramIBinder;