本文整理汇总了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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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());
}
}
示例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);
}
示例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 );
}
示例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);
}
示例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);
}