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


Java Parcel.writeList方法代碼示例

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


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

示例1: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);
    dest.writeString(uid);
    dest.writeString(firebaseToken);
    dest.writeString(nombre);
    dest.writeString(apellidos);
    dest.writeString(user);
    dest.writeString(email);
    dest.writeString(password);
    dest.writeInt(nPuntos);
    dest.writeString(CIF);
    dest.writeString(localizacion);
    dest.writeString(biografia);
    dest.writeString(web);
    dest.writeString(imagenPerfil);
    dest.writeByte((byte) (verificado ? 1 : 0));
    dest.writeTypedList(misAreasInteres);
    dest.writeTypedList(misEspecialidades);
    dest.writeTypedList(misRedesSociales);
    dest.writeTypedList(misSolicitudes);
    dest.writeParcelable(miStatus, flags);
    dest.writeList(misSeguidos);
    dest.writeList(misProyectos);
}
 
開發者ID:nen155,項目名稱:TFG-SmartU-La-red-social,代碼行數:26,代碼來源:Usuario.java

示例2: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(id);
    dest.writeString(uuid);
    dest.writeLong(lastSeenTime);
    dest.writeString(major);
    dest.writeString(minor);
    dest.writeInt(txPower);
    dest.writeInt(rssi);
    dest.writeDouble(distance);
    dest.writeString(bleName);
    dest.writeString(bleAddress);
    dest.writeInt(type);
    dest.writeString(urlEddystone);
    dest.writeList(actions);
}
 
開發者ID:mobillium,項目名稱:omnicrow-android,代碼行數:17,代碼來源:TrackedBeacon.java

示例3: writeToParcel

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

    dest.writeInt(this.tid);
    dest.writeInt(this.reid);
    dest.writeString(this.name);
    dest.writeString(this.logo);
    dest.writeString(this.gotoX);
    dest.writeString(this.param);
    dest.writeList(this.children);
}
 
開發者ID:WeDevelopTeam,項目名稱:HeroVideo-master,代碼行數:13,代碼來源:RegionTypesInfo.java

示例4: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
    public void writeToParcel(Parcel dest, int flags) {
        dest.writeString(date);
        dest.writeString(modifiedGmt);
//        dest.writeValue(links);
        dest.writeInt(author);
        dest.writeString(link);
        dest.writeString(format);
        dest.writeString(type);
        dest.writeValue(title);
        dest.writeString(commentStatus);
        dest.writeValue(content);
        dest.writeInt(featuredMedia);
        if (tags == null) {
            dest.writeByte((byte) (0x00));
        } else {
            dest.writeByte((byte) (0x01));
            dest.writeList(tags);
        }
        dest.writeString(pingStatus);
//        dest.writeValue(meta);
        dest.writeByte((byte) (sticky ? 0x01 : 0x00));
        dest.writeValue(guid);
        dest.writeString(modified);
        dest.writeInt(id);
        if (categories == null) {
            dest.writeByte((byte) (0x00));
        } else {
            dest.writeByte((byte) (0x01));
            dest.writeList(categories);
        }
        dest.writeValue(excerpt);
        dest.writeString(dateGmt);
        dest.writeString(slug);
    }
 
開發者ID:sinhaDroid,項目名稱:BlogBookApp,代碼行數:36,代碼來源:BlogResponse.java

示例5: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);
    dest.writeString(portrait);
    dest.writeString(author);
    dest.writeInt(authorId);
    dest.writeString(pubDate);
    dest.writeInt(appClient);
    dest.writeString(content);

    dest.writeList(replies);
    dest.writeList(refers);
}
 
開發者ID:hsj-xiaokang,項目名稱:OSchina_resources_android,代碼行數:14,代碼來源:Comment.java

示例6: writeToParcel

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

  dest.writeInt(this.count);
  dest.writeInt(this.pages);
  dest.writeList(this.result);
}
 
開發者ID:MUFCRyan,項目名稱:BilibiliClient,代碼行數:8,代碼來源:UserChaseBangumiInfo.java

示例7: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    List<DayScheduleContainer> schedules = new ArrayList<>();

    for (Map.Entry<String, List<Class>> entry : this.schedules.entrySet())
        schedules.add(new DayScheduleContainer(entry.getKey(), entry.getValue()));

    dest.writeLong(date.getTime());
    dest.writeList(schedules);
}
 
開發者ID:linklux,項目名稱:android-schedules,代碼行數:11,代碼來源:DaySchedulesContainer.java

示例8: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(id);
    dest.writeValue(createdAt);
    dest.writeValue(updatedAt);
    dest.writeValue(width);
    dest.writeValue(height);
    dest.writeValue(color);
    dest.writeValue(likes);
    dest.writeValue(likedByUser);
    dest.writeValue(user);
    dest.writeList(currentUserCollections);
    dest.writeValue(urls);
    dest.writeList(categories);
    dest.writeValue(links);
}
 
開發者ID:KeenenCharles,項目名稱:AndroidUnplash,代碼行數:16,代碼來源:Result.java

示例9: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeInt(id);
    dest.writeInt(imageId);
    dest.writeString(title);
    dest.writeString(intro);
    dest.writeInt(price);
    dest.writeInt(founderId);
    dest.writeInt(zoom);
    dest.writeList(markers);
}
 
開發者ID:yuhodev,項目名稱:login,代碼行數:12,代碼來源:Route.java

示例10: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(this.mBucketId);
    dest.writeInt(this.mCount);
    dest.writeString(this.mBucketName);
    dest.writeList(this.mImageList);
    dest.writeByte(this.mIsSelected ? (byte) 1 : (byte) 0);
}
 
開發者ID:weiwenqiang,項目名稱:GitHub,代碼行數:9,代碼來源:AlbumEntity.java

示例11: writeToParcel

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

    dest.writeInt(_pointTrackMapper.size());

    for (Map.Entry<Integer, ArrayList<String>> entry : _pointTrackMapper.entrySet()) {
        dest.writeInt(entry.getKey());
        dest.writeList(entry.getValue());
    }
}
 
開發者ID:LenaShervarly,項目名稱:TreasureHunting,代碼行數:14,代碼來源:Route.java

示例12: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel parcel, int i) {
    List<Integer> startRowList = new LinkedList<>(startsRow);
    List<Integer> endRowList = new LinkedList<>(endsRow);

    parcel.writeList(startRowList);
    parcel.writeList(endRowList);
}
 
開發者ID:sathishmscict,項目名稱:ChipsLayoutManager,代碼行數:9,代碼來源:CacheParcelableContainer.java

示例13: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel ( Parcel parcel, int i )
{
	parcel.writeInt( sectionId );
	parcel.writeInt( ownerId );
	parcel.writeInt( noteId );
	parcel.writeInt( pageId );
	parcel.writeInt( color );
	parcel.writeInt( type );
	parcel.writeInt( penTipType );
	parcel.writeList( dots );
}
 
開發者ID:NeoSmartpen,項目名稱:AndroidSDK2.0,代碼行數:13,代碼來源:Stroke.java

示例14: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(posterPath);
    dest.writeValue(popularity);
    dest.writeValue(id);
    dest.writeValue(backdropPath);
    dest.writeValue(voteAverage);
    dest.writeValue(overview);
    dest.writeValue(firstAirDate);
    dest.writeList(originCountry);
    dest.writeList(genreIds);
    dest.writeValue(originalLanguage);
    dest.writeValue(voteCount);
    dest.writeValue(name);
    dest.writeValue(originalName);
}
 
開發者ID:prakh25,項目名稱:MovieApp,代碼行數:16,代碼來源:TvResult.java

示例15: writeToParcel

import android.os.Parcel; //導入方法依賴的package包/類
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(this.id);
    dest.writeValue(this.adult);
    dest.writeString(this.backdropPath);
    dest.writeValue(this.budget);
    dest.writeString(this.homepage);
    dest.writeString(this.imdbId);
    dest.writeString(this.originalLanguage);
    dest.writeString(this.originalTitle);
    dest.writeString(this.overview);
    dest.writeValue(this.popularity);
    dest.writeString(this.posterPath);
    dest.writeValue(this.releaseDate);
    dest.writeValue(this.revenue);
    dest.writeValue(this.runtime);
    dest.writeString(this.status);
    dest.writeString(this.tagline);
    dest.writeString(this.title);
    dest.writeValue(this.video);
    dest.writeValue(this.voteAverage);
    dest.writeValue(this.voteCount);
    dest.writeString(this.youtubeTrailer);
    dest.writeString(this.serverTitle);
    dest.writeString(this.serverId);
    dest.writeValue(this.like);
    dest.writeTypedList(this.genres);
    dest.writeList(this.cast);
    dest.writeList(this.crew);
}
 
開發者ID:tgbMedia,項目名稱:Android-app,代碼行數:31,代碼來源:MovieOverviewModel.java


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