Java Code Examples for android.os.Parcel.writeList()

The following are Jave code examples for showing how to use writeList() of the android.os.Parcel class. You can vote up the examples you like. Your votes will be used in our system to get more good examples.
+ Save this method
Example 1
Project: TFG-SmartU-La-red-social   File: Usuario.java   View Source Code Vote up 6 votes
@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);
}
 
Example 2
Project: omnicrow-android   File: TrackedBeacon.java   View Source Code Vote up 6 votes
@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);
}
 
Example 3
Project: HeroVideo-master   File: RegionTypesInfo.java   View Source Code Vote up 5 votes
@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);
}
 
Example 4
Project: BlogBookApp   File: BlogResponse.java   View Source Code Vote up 5 votes
@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);
    }
 
Example 5
Project: OSchina_resources_android   File: Comment.java   View Source Code Vote up 5 votes
@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);
}
 
Example 6
Project: BilibiliClient   File: UserChaseBangumiInfo.java   View Source Code Vote up 5 votes
@Override
public void writeToParcel(Parcel dest, int flags) {

  dest.writeInt(this.count);
  dest.writeInt(this.pages);
  dest.writeList(this.result);
}
 
Example 7
Project: android-schedules   File: DaySchedulesContainer.java   View Source Code Vote up 5 votes
@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);
}
 
Example 8
Project: AndroidUnplash   File: Result.java   View Source Code Vote up 5 votes
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);
}
 
Example 9
Project: login   File: Route.java   View Source Code Vote up 5 votes
@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);
}
 
Example 10
Project: GitHub   File: AlbumEntity.java   View Source Code Vote up 5 votes
@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);
}
 
Example 11
Project: boxing   File: AlbumEntity.java   View Source Code Vote up 5 votes
@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);
}
 
Example 12
Project: TreasureHunting   File: Route.java   View Source Code Vote up 5 votes
@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());
    }
}
 
Example 13
Project: ChipsLayoutManager   File: CacheParcelableContainer.java   View Source Code Vote up 5 votes
@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);
}
 
Example 14
Project: AndroidSDK2.0   File: Stroke.java   View Source Code Vote up 5 votes
@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 );
}
 
Example 15
Project: MovieApp   File: TvResult.java   View Source Code Vote up 5 votes
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);
}
 
Example 16
Project: Android-app   File: MovieOverviewModel.java   View Source Code Vote up 5 votes
@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);
}
 
Example 17
Project: MovieApp   File: GenreResponse.java   View Source Code Vote up 4 votes
public void writeToParcel(Parcel dest, int flags) {
    dest.writeList(genres);
}
 
Example 18
Project: GitHub   File: GoldManagerBean.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeList(this.managerList);
}
 
Example 19
Project: Transactions-Viewer   File: ProductUI.java   View Source Code Vote up 4 votes
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeString(sku);
    dest.writeList(transactions);
}
 
Example 20
Project: AndroidUnplash   File: SearchResults.java   View Source Code Vote up 4 votes
public void writeToParcel(Parcel dest, int flags) {
    dest.writeValue(total);
    dest.writeValue(totalPages);
    dest.writeList(results);
}