當前位置: 首頁>>代碼示例>>Java>>正文


Java Parcel.writeTypedArray方法代碼示例

本文整理匯總了Java中android.os.Parcel.writeTypedArray方法的典型用法代碼示例。如果您正苦於以下問題:Java Parcel.writeTypedArray方法的具體用法?Java Parcel.writeTypedArray怎麽用?Java Parcel.writeTypedArray使用的例子?那麽, 這裏精選的方法代碼示例或許可以為您提供幫助。您也可以進一步了解該方法所在android.os.Parcel的用法示例。


在下文中一共展示了Parcel.writeTypedArray方法的15個代碼示例,這些例子默認根據受歡迎程度排序。您可以為喜歡或者感覺有用的代碼點讚,您的評價將有助於係統推薦出更棒的Java代碼示例。

示例1: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(tid);
    dest.writeString(typeid);
    dest.writeString(readperm);
    dest.writeString(price);
    dest.writeString(author);
    dest.writeString(authorid);
    dest.writeString(subject);
    dest.writeString(dateline);
    dest.writeString(lastpost);
    dest.writeString(lastposter);
    dest.writeString(views);
    dest.writeString(replies);
    dest.writeString(displayorder);
    dest.writeString(digest);
    dest.writeString(special);
    dest.writeString(attachment);
    dest.writeString(recommend_add);
    dest.writeString(replycredit);
    dest.writeString(dbdateline);
    dest.writeString(dblastpost);
    dest.writeString(rushreply);
    dest.writeTypedArray(reply, flags);
}
 
開發者ID:Trumeet,項目名稱:MAT-BBS_Discuz_Android,代碼行數:26,代碼來源:ForumDisplay.java

示例2: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.age);
    dest.writeLong(this.id);
    dest.writeInt(this.testShort);
    dest.writeByte(this.testByte);
    dest.writeByte(this.testBoolean ? (byte) 1 : (byte) 0);
    dest.writeFloat(this.testFloat);
    dest.writeDouble(this.testDouble);
    dest.writeInt(this.testChar);
    dest.writeValue(this.testLONG);
    dest.writeValue(this.testDOUBLE);
    dest.writeSerializable(this.testCharacter);
    dest.writeValue(this.testBOOLEAN);
    dest.writeValue(this.testSHORT);
    dest.writeString(this.name);
    dest.writeParcelable(this.data, flags);
    dest.writeTypedList(this.datas);
    dest.writeTypedArray(this.testArrayResultData, flags);
    dest.writeIntArray(this.testArrayInt);
    dest.writeArray(this.testArrayInteger);
}
 
開發者ID:LightSun,項目名稱:data-mediator,代碼行數:23,代碼來源:HistoryData.java

示例3: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(mName);
    dest.writeInt(mShares.size());
    Share[] shares = new Share[mShares.size()];
    mShares.toArray(shares);
    dest.writeTypedArray(shares,flags);
}
 
開發者ID:archos-sa,項目名稱:aos-FileCoreLibrary,代碼行數:9,代碼來源:Workgroup.java

示例4: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.families, flags);
    dest.writeInt(this.fd.size());
    for (Map.Entry<String, ParcelFileDescriptor> entry : this.fd.entrySet()) {
        dest.writeString(entry.getKey());
        dest.writeParcelable(entry.getValue(), flags);
    }
}
 
開發者ID:RikkaApps,項目名稱:FontProvider,代碼行數:10,代碼來源:BundledFontFamily.java

示例5: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.name);
    dest.writeString(this.variant);
    dest.writeStringArray(this.language);
    dest.writeIntArray(this.ttc_index);
    dest.writeString(this.size);
    dest.writeStringArray(this.preview_text);
    dest.writeString(this.url_prefix);
    dest.writeTypedArray(this.style, flags);
}
 
開發者ID:RikkaApps,項目名稱:FontProvider,代碼行數:12,代碼來源:FontInfo.java

示例6: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(@NonNull Parcel dest, int flags) {
    dest.writeInt(this.survey_id);
    dest.writeInt(this.limit_from);
    dest.writeInt(this.limit_to);
    dest.writeInt(this.step);
    dest.writeInt(this.seen ? 1 : 0);
    dest.writeInt(this.type);
    dest.writeString(this.title);
    dest.writeString(this.subtitle);
    dest.writeString(this.thank_you_text);
    try {
        dest.writeTypedArray(this.choices, 0);
    } catch (Exception ignored) { }
}
 
開發者ID:customerly,項目名稱:Customerly-Android-SDK,代碼行數:16,代碼來源:IE_Survey.java

示例7: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(final Parcel dest, final int flags) {
    dest.writeSerializable(standard);

    dest.writeString(payeeName);
    dest.writeString(payeeVerifiedBy);

    if (outputs != null) {
        dest.writeInt(outputs.length);
        dest.writeTypedArray(outputs, 0);
    } else {
        dest.writeInt(0);
    }

    dest.writeString(memo);

    dest.writeString(paymentUrl);

    if (payeeData != null) {
        dest.writeInt(payeeData.length);
        dest.writeByteArray(payeeData);
    } else {
        dest.writeInt(0);
    }

    dest.writeString(paymentRequestUrl);

    if (paymentRequestHash != null) {
        dest.writeInt(paymentRequestHash.length);
        dest.writeByteArray(paymentRequestHash);
    } else {
        dest.writeInt(0);
    }
}
 
開發者ID:guodroid,項目名稱:okwallet,代碼行數:35,代碼來源:PaymentIntent.java

示例8: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeString(path);
    parcel.writeString(name);
    parcel.writeString(String.valueOf(isMedia));
    File_POJO[] children = new File_POJO[this.children.size()];
    for (int k = 0; k < children.length; k++) {
        children[k] = this.children.get(k);
    }
    parcel.writeTypedArray(children, 0);
    parcel.writeString(String.valueOf(excluded));
}
 
開發者ID:kollerlukas,項目名稱:Camera-Roll-Android-App,代碼行數:13,代碼來源:File_POJO.java

示例9: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.points, flags);
    dest.writeInt(this.fillColor);
    dest.writeParcelable(this.uiOptions, flags);
}
 
開發者ID:bkhezry,項目名稱:ExtraMapUtils,代碼行數:7,代碼來源:ExtraPolygon.java

示例10: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeTypedArray(this.points, flags);
    dest.writeParcelable(this.uiOptions, flags);
}
 
開發者ID:bkhezry,項目名稱:ExtraMapUtils,代碼行數:6,代碼來源:ExtraPolyline.java

示例11: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
  dest.writeTypedArray(locationsBefore, flags);
  dest.writeTypedArray(locationsAfter, flags);
}
 
開發者ID:mapbox,項目名稱:mapbox-events-android,代碼行數:6,代碼來源:NavigationLocationData.java

示例12: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
  dest.writeTypedArray(schemeDatas, 0);
}
 
開發者ID:sanjaysingh1990,項目名稱:Exoplayer2Radio,代碼行數:5,代碼來源:DrmInitData.java

示例13: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeIntArray(this.weight);
    dest.writeTypedArray(filterDefault(this.requests), flags);
}
 
開發者ID:RikkaApps,項目名稱:FontProvider,代碼行數:6,代碼來源:FontRequests.java

示例14: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(this.variant);
    dest.writeString(this.language);
    dest.writeTypedArray(this.fonts, flags);
}
 
開發者ID:RikkaApps,項目名稱:FontProvider,代碼行數:7,代碼來源:FontFamily.java

示例15: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel parcel, int i) {
    parcel.writeTypedArray(forums, i);
}
 
開發者ID:Trumeet,項目名稱:MAT-BBS_Discuz_Android,代碼行數:5,代碼來源:ForumNav.java


注:本文中的android.os.Parcel.writeTypedArray方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。