本文整理汇总了Java中android.os.Parcel.readTypedList方法的典型用法代码示例。如果您正苦于以下问题:Java Parcel.readTypedList方法的具体用法?Java Parcel.readTypedList怎么用?Java Parcel.readTypedList使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类android.os.Parcel
的用法示例。
在下文中一共展示了Parcel.readTypedList方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: SavedState
import android.os.Parcel; //导入方法依赖的package包/类
private SavedState(Parcel in) {
super(in);
color = in.readInt();
dateTextAppearance = in.readInt();
weekDayTextAppearance = in.readInt();
showOtherDates = in.readInt();
allowClickDaysOutsideCurrentMonth = in.readByte() != 0;
ClassLoader loader = CalendarDay.class.getClassLoader();
minDate = in.readParcelable(loader);
maxDate = in.readParcelable(loader);
in.readTypedList(selectedDates, CalendarDay.CREATOR);
firstDayOfWeek = in.readInt();
orientation = in.readInt();
tileWidthPx = in.readInt();
tileHeightPx = in.readInt();
topbarVisible = in.readInt() == 1;
selectionMode = in.readInt();
dynamicHeightEnabled = in.readInt() == 1;
calendarMode = in.readInt() == 1 ? CalendarMode.WEEKS : CalendarMode.MONTHS;
currentMonth = in.readParcelable(loader);
}
示例2: SavedState
import android.os.Parcel; //导入方法依赖的package包/类
private SavedState(Parcel in) {
super(in);
color = in.readInt();
dateTextAppearance = in.readInt();
weekDayTextAppearance = in.readInt();
showOtherDates = in.readInt();
allowClickDaysOutsideCurrentMonth = in.readByte() != 0;
ClassLoader loader = CalendarDay.class.getClassLoader();
minDate = in.readParcelable(loader);
maxDate = in.readParcelable(loader);
in.readTypedList(selectedDates, CalendarDay.CREATOR);
firstDayOfWeek = in.readInt();
orientation = in.readInt();
tileWidthPx = in.readInt();
tileHeightPx = in.readInt();
topbarVisible = in.readInt() == 1;
selectionMode = in.readInt();
dynamicHeightEnabled = in.readInt() == 1;
calendarMode = in.readInt() == 1 ? CalendarMode.WEEKS : CalendarMode.MONTHS;
currentMonth = in.readParcelable(loader);
cacheCurrentPosition = in.readByte() != 0;
}
示例3: ClaimItem
import android.os.Parcel; //导入方法依赖的package包/类
@Ignore
protected ClaimItem(final Parcel in) {
id = in.readLong();
description = in.readString();
amount = in.readDouble();
final long time = in.readLong();
timestamp = time != -1 ? new Date(time) : null;
final int categoryOrd = in.readInt();
category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
in.readTypedList(attachments, Attachment.CREATOR);
}
示例4: ClaimItem
import android.os.Parcel; //导入方法依赖的package包/类
protected ClaimItem(final Parcel in) {
description = in.readString();
amount = in.readDouble();
final long time = in.readLong();
timestamp = time != -1 ? new Date(time) : null;
final int categoryOrd = in.readInt();
category = categoryOrd != -1 ? Category.values()[categoryOrd] : null;
in.readTypedList(attachments, Attachment.CREATOR);
}
示例5: MenuParams
import android.os.Parcel; //导入方法依赖的package包/类
private MenuParams(Parcel in) {
this.mActionBarSize = in.readInt();
in.readTypedList(mMenuObjects, MenuObject.CREATOR);
this.mAnimationDelay = in.readInt();
this.mAnimationDuration = in.readInt();
this.isFitsSystemWindow = in.readByte() != 0;
this.isClipToPadding = in.readByte() != 0;
this.isClosableOutside = in.readByte() != 0;
}
示例6: Folder
import android.os.Parcel; //导入方法依赖的package包/类
private Folder(Parcel in) {
this.name = in.readString();
this.path = in.readString();
this.cover = (Image) in.readParcelable(Image.class.getClassLoader());
in.readTypedList(this.images, Image.CREATOR);
}
示例7: DeleteState
import android.os.Parcel; //导入方法依赖的package包/类
public DeleteState(Parcel in)
{
super();
in.readTypedList(entries, EntryState.CREATOR);
}
示例8: ReplaceState
import android.os.Parcel; //导入方法依赖的package包/类
public ReplaceState(Parcel in)
{
super();
in.readTypedList(entries, EntryState.CREATOR);
}
示例9: WifiData
import android.os.Parcel; //导入方法依赖的package包/类
public WifiData(Parcel in) {
in.readTypedList(mNetworks, WifiDataNetwork.CREATOR);
}
示例10: Allowance
import android.os.Parcel; //导入方法依赖的package包/类
protected Allowance(final Parcel in) {
amountPerDay = in.readInt();
in.readTypedList(items, ClaimItem.CREATOR);
}
示例11: readFromParcel
import android.os.Parcel; //导入方法依赖的package包/类
private void readFromParcel(Parcel parcel) {
mCurrentStage = parcel.readInt();
mMoveCount = parcel.readInt();
mStages = new ArrayList<Stage>();
parcel.readTypedList(mStages, Stage.CREATOR);
}