当前位置: 首页>>代码示例>>Java>>正文


Java ParcelUtils.writeStringMap方法代码示例

本文整理汇总了Java中io.plaidapp.util.ParcelUtils.writeStringMap方法的典型用法代码示例。如果您正苦于以下问题:Java ParcelUtils.writeStringMap方法的具体用法?Java ParcelUtils.writeStringMap怎么用?Java ParcelUtils.writeStringMap使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在io.plaidapp.util.ParcelUtils的用法示例。


在下文中一共展示了ParcelUtils.writeStringMap方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: writeToParcel

import io.plaidapp.util.ParcelUtils; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(id);
    dest.writeString(title);
    dest.writeString(url);
    dest.writeString(name);
    dest.writeString(tagline);
    dest.writeString(discussion_url);
    dest.writeString(redirect_url);
    //dest.writeLong(created_at != null ? created_at.getTime() : -1L);
    dest.writeInt(comments_count);
    dest.writeInt(votes_count);
    dest.writeValue(user);
    if (makers == null) {
        dest.writeByte((byte) (0x00));
    } else {
        dest.writeByte((byte) (0x01));
        dest.writeList(makers);
    }
    dest.writeValue(current_user);
    dest.writeByte((byte) (maker_inside ? 0x01 : 0x00));
    ParcelUtils.writeStringMap(screenshot_url, dest);
}
 
开发者ID:liulinbo,项目名称:Amumu,代码行数:24,代码来源:Post.java

示例2: writeToParcel

import io.plaidapp.util.ParcelUtils; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(id);
    dest.writeString(name);
    dest.writeString(headline);
    //dest.writeLong(created_at != null ? created_at.getTime() : -1L);
    dest.writeString(username);
    dest.writeString(website_url);
    dest.writeString(profile_url);
    ParcelUtils.writeStringMap(image_url, dest);
}
 
开发者ID:liulinbo,项目名称:Amumu,代码行数:12,代码来源:User.java

示例3: writeToParcel

import io.plaidapp.util.ParcelUtils; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(id);
    dest.writeString(name);
    dest.writeString(username);
    dest.writeString(html_url);
    dest.writeString(avatar_url);
    dest.writeString(bio);
    dest.writeString(location);
    ParcelUtils.writeStringMap(links, dest);
}
 
开发者ID:liulinbo,项目名称:Amumu,代码行数:12,代码来源:Team.java

示例4: writeToParcel

import io.plaidapp.util.ParcelUtils; //导入方法依赖的package包/类
@Override
public void writeToParcel(Parcel dest, int flags) {
    dest.writeLong(id);
    dest.writeString(name);
    dest.writeString(username);
    dest.writeString(html_url);
    dest.writeString(avatar_url);
    dest.writeString(bio);
    dest.writeString(location);
    ParcelUtils.writeStringMap(links, dest);
    dest.writeInt(buckets_count);
    dest.writeInt(followers_count);
    dest.writeInt(followings_count);
    dest.writeInt(likes_count);
    dest.writeInt(projects_count);
    dest.writeInt(shots_count);
    dest.writeInt(teams_count);
    dest.writeString(type);
    if (pro == null) {
        dest.writeByte((byte) (0x02));
    } else {
        dest.writeByte((byte) (pro ? 0x01 : 0x00));
    }
    dest.writeString(buckets_url);
    dest.writeString(followers_url);
    dest.writeString(following_url);
    dest.writeString(likes_url);
    dest.writeString(projects_url);
    dest.writeString(shots_url);
    dest.writeString(teams_url);
    dest.writeLong(created_at != null ? created_at.getTime() : -1L);
    dest.writeLong(updated_at != null ? updated_at.getTime() : -1L);
}
 
开发者ID:liulinbo,项目名称:Amumu,代码行数:34,代码来源:User.java


注:本文中的io.plaidapp.util.ParcelUtils.writeStringMap方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。