List of usage examples for android.os Parcel readBooleanArray
public final void readBooleanArray(boolean[] val)
From source file:com.philliphsu.clock2.alarms.Alarm.java
private static Alarm create(Parcel in) { Alarm alarm = Alarm.builder().hour(in.readInt()).minutes(in.readInt()).label(in.readString()) .ringtone(in.readString()).vibrates(in.readInt() != 0).build(); alarm.setId(in.readLong());/*from w ww . j a v a 2 s.c o m*/ alarm.snoozingUntilMillis = in.readLong(); alarm.enabled = in.readInt() != 0; in.readBooleanArray(alarm.recurringDays); alarm.ignoreUpcomingRingTime = in.readInt() != 0; return alarm; }
From source file:android.hawkencompanionapp.models.UserLoginSession.java
private void readFromParcel(Parcel in) { boolean[] b = new boolean[] { mIsUserValid }; mPhpSessionId = in.readString();/*from w ww. j a v a2s . c o m*/ mPhpTrackingId = in.readString(); mPhpAccessId = in.readString(); in.readBooleanArray(b); mIsUserValid = b[0]; }