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