当前位置: 首页>>代码示例>>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;未经允许,请勿转载。