當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。