当前位置: 首页>>代码示例>>Java>>正文


Java Parcel.readTypedList方法代码示例

本文整理汇总了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);
}
 
开发者ID:weiwenqiang,项目名称:GitHub,代码行数:22,代码来源:MaterialCalendarView.java

示例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;
}
 
开发者ID:ptrstovka,项目名称:calendarview2,代码行数:23,代码来源:CalendarView2.java

示例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);
}
 
开发者ID:PacktPublishing,项目名称:Hands-On-Android-UI-Development,代码行数:12,代码来源:ClaimItem.java

示例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);
}
 
开发者ID:PacktPublishing,项目名称:Hands-On-Android-UI-Development,代码行数:10,代码来源:ClaimItem.java

示例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;
}
 
开发者ID:zongkaili,项目名称:MenuSet,代码行数:10,代码来源:MenuParams.java

示例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);
}
 
开发者ID:JackChan1999,项目名称:boohee_v5.6,代码行数:7,代码来源:Folder.java

示例7: DeleteState

import android.os.Parcel; //导入方法依赖的package包/类
public DeleteState(Parcel in)
{
    super();
    in.readTypedList(entries, EntryState.CREATOR);
}
 
开发者ID:mkulesh,项目名称:microMathematics,代码行数:6,代码来源:DeleteState.java

示例8: ReplaceState

import android.os.Parcel; //导入方法依赖的package包/类
public ReplaceState(Parcel in)
{
    super();
    in.readTypedList(entries, EntryState.CREATOR);
}
 
开发者ID:mkulesh,项目名称:microMathematics,代码行数:6,代码来源:ReplaceState.java

示例9: WifiData

import android.os.Parcel; //导入方法依赖的package包/类
public WifiData(Parcel in) {
    in.readTypedList(mNetworks, WifiDataNetwork.CREATOR);
}
 
开发者ID:uncleashi,项目名称:find-client-android,代码行数:4,代码来源:WifiData.java

示例10: Allowance

import android.os.Parcel; //导入方法依赖的package包/类
protected Allowance(final Parcel in) {
    amountPerDay = in.readInt();
    in.readTypedList(items, ClaimItem.CREATOR);
}
 
开发者ID:PacktPublishing,项目名称:Hands-On-Android-UI-Development,代码行数:5,代码来源:Allowance.java

示例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);
}
 
开发者ID:ChessCom,项目名称:android-chessclock,代码行数:7,代码来源:StageManager.java


注:本文中的android.os.Parcel.readTypedList方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。