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

The following are Jave code examples for showing how to use createStringArrayList() 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: q-mail   File: SMimeSignatureResult.java   View Source Code Vote up 6 votes
private SMimeSignatureResult(Parcel source, int version) {
    this.result = source.readInt();
    // we dropped support for signatureOnly, but need to skip the value for compatibility
    source.readByte();
    this.primaryUserId = source.readString();
    this.keyId = source.readLong();

    if (version > 1) {
        this.userIds = source.createStringArrayList();
    } else {
        this.userIds = null;
    }
    if (version > 2) {
        this.senderStatusResult = readEnumWithNullAndFallback(
                source, SenderStatusResult.VALUES, SenderStatusResult.UNKNOWN);
        this.confirmedUserIds = source.createStringArrayList();
    } else {
        this.senderStatusResult = SenderStatusResult.UNKNOWN;
        this.confirmedUserIds = null;
    }
}
 
Example 2
Project: q-mail   File: OpenPgpSignatureResult.java   View Source Code Vote up 6 votes
private OpenPgpSignatureResult(Parcel source, int version) {
    this.result = source.readInt();
    // we dropped support for signatureOnly, but need to skip the value for compatibility
    source.readByte();
    this.primaryUserId = source.readString();
    this.keyId = source.readLong();

    if (version > 1) {
        this.userIds = source.createStringArrayList();
    } else {
        this.userIds = null;
    }
    if (version > 2) {
        this.senderStatusResult = readEnumWithNullAndFallback(
                source, SenderStatusResult.VALUES, SenderStatusResult.UNKNOWN);
        this.confirmedUserIds = source.createStringArrayList();
    } else {
        this.senderStatusResult = SenderStatusResult.UNKNOWN;
        this.confirmedUserIds = null;
    }
}
 
Example 3
Project: whatanime-android   File: SearchDetail.java   View Source Code Vote up 6 votes
protected Doc(Parcel in) {
    this.fromTime = (Double) in.readValue(Double.class.getClassLoader());
    this.toTime = (Double) in.readValue(Double.class.getClassLoader());
    this.atTime = (Double) in.readValue(Double.class.getClassLoader());
    this.episode = in.readString();
    this.similarity = (Double) in.readValue(Double.class.getClassLoader());
    this.anilistId = (Integer) in.readValue(Integer.class.getClassLoader());
    this.japaneseTitle = in.readString();
    this.englishTitle = in.readString();
    this.romanjiTitle = in.readString();
    this.synonyms = in.createStringArrayList();
    this.season = in.readString();
    this.anime = in.readString();
    this.fileName = in.readString();
    this.tokenThumb = in.readString();
}
 
Example 4
Project: TheMovies   File: Movie.java   View Source Code Vote up 6 votes
protected Movie(Parcel in) {
    this.posterPath = in.readString();
    this.backdropPath = in.readString();
    this.overview = in.readString();
    this.releaseDate = in.readString();
    this.originalTitle = in.readString();
    this.title = in.readString();
    this.tagline = in.readString();
    this.homepage = in.readString();
    this.id = in.readLong();
    this.popularity = in.readDouble();
    this.voteCount = in.readInt();
    this.voteAverage = in.readDouble();
    this.isForAdults = in.readByte() != 0;
    this.hasVideo = in.readByte() != 0;
    this.isFav = in.readByte() != 0;
    this.isWannaWatch = in.readByte() != 0;
    this.isWatched = in.readByte() != 0;
    this.genres = in.createStringArrayList();
    this.productionCompanies = in.createStringArrayList();
}
 
Example 5
Project: mvvm-template   File: FilterOptionsModel.java   View Source Code Vote up 6 votes
private FilterOptionsModel(Parcel in) {
    this.type = in.readString();
    this.sort = in.readString();
    this.sortDirection = in.readString();
    int queryMapSize = in.readInt();
    this.queryMap = new HashMap<String, String>(queryMapSize);
    for (int i = 0; i < queryMapSize; i++) {
        String key = in.readString();
        String value = in.readString();
        this.queryMap.put(key, value);
    }
    this.isPersonalProfile = in.readByte() != 0;
    this.typesListForPersonalProfile = in.createStringArrayList();
    this.typesListForExternalProfile = in.createStringArrayList();
    this.typesListForOrganizationProfile = in.createStringArrayList();
    this.sortOptionsList = in.createStringArrayList();
    this.sortDirectionList = in.createStringArrayList();
    this.isOrg = in.readByte() != 0;
}
 
Example 6
Project: GongXianSheng   File: ReturnOrderListResponse.java   View Source Code Vote up 6 votes
protected ListBean(Parcel in) {
    orderID = in.readInt();
    doneDate = in.readString();
    name = in.readString();
    isTwoUnit = in.readByte() != 0;
    doneDtate = in.readString();
    driver = in.readString();
    createDate = in.readString();
    createUser = in.readString();
    amount = in.readDouble();
    amountTotal = in.readDouble();
    state = in.readString();
    loadingDate = in.readString();
    vehicle = in.readString();
    isDispatch = in.readByte() != 0;
    returnOrderID = in.readInt();
    driveMobile = in.readString();
    deliveryType = in.readString();
    hasAttachment = in.readInt();
    returnThirdPartLog = in.readByte() != 0;
    lines = in.createTypedArrayList(LinesBean.CREATOR);
    stateTracker = in.createStringArrayList();
}
 
Example 7
Project: GongXianSheng   File: OrderListResponse.java   View Source Code Vote up 5 votes
protected ListBean(Parcel in) {
    amountTotal = in.readDouble();
    endUnloadDatetime = in.readString();
    driver = in.readString();
    estimatedDate = in.readString();
    isTwoUnit = in.readByte() != 0;
    hasReturn = in.readInt();
    loadingTime = in.readString();
    estimatedTime = in.readString();
    createDate = in.readString();
    startUnloadDatetime = in.readString();
    state = in.readString();
    receiveUserName = in.readString();
    tallyingUserName = in.readString();
    isDoubleReceive = in.readByte() != 0;
    unApplyService = in.readByte() != 0;
    settleAmountTotal = in.readDouble();
    waybill = in.readParcelable(WaybillBean.class.getClassLoader());
    hasAttachment = in.readInt();
    isFinishTallying = in.readByte() != 0;
    createUserName = in.readString();
    orderSettleName = in.readString();
    publicAmountTotal = in.readDouble();
    deliveredQty = in.readDouble();
    confirmationDate = in.readString();
    orderID = in.readInt();
    name = in.readString();
    appraisalUserName = in.readString();
    amount = in.readDouble();
    isToday = in.readByte() != 0;
    doneDatetime = in.readString();
    deliveryType = in.readString();
    lines = in.createTypedArrayList(LinesBean.CREATOR);
    stateTracker = in.createStringArrayList();
    returnOrders = in.createStringArrayList();
}
 
Example 8
Project: Phoenix-for-VK   File: News.java   View Source Code Vote up 5 votes
protected News(Parcel in) {
    super(in);
    type = in.readString();
    sourceId = in.readInt();
    source = in.readParcelable(sourceId > 0 ? User.class.getClassLoader() : Community.class.getClassLoader());
    postType = in.readString();
    finalPost = in.readByte() != 0;
    copyOwnerId = in.readInt();
    copyPostId = in.readInt();
    copyPostDate = in.readLong();
    date = in.readLong();
    postId = in.readInt();
    copyHistory = in.createTypedArrayList(Post.CREATOR);
    text = in.readString();
    canEdit = in.readByte() != 0;
    canDelete = in.readByte() != 0;
    commentCount = in.readInt();
    commentCanPost = in.readByte() != 0;
    likeCount = in.readInt();
    userLike = in.readByte() != 0;
    canLike = in.readByte() != 0;
    canPublish = in.readByte() != 0;
    repostsCount = in.readInt();
    userReposted = in.readByte() != 0;
    attachments = in.readParcelable(Attachments.class.getClassLoader());
    friends = in.createStringArrayList();
    viewCount = in.readInt();
}
 
Example 9
Project: boohee_v5.6   File: BackStackState.java   View Source Code Vote up 5 votes
public BackStackState(Parcel in) {
    this.mOps = in.createIntArray();
    this.mTransition = in.readInt();
    this.mTransitionStyle = in.readInt();
    this.mName = in.readString();
    this.mIndex = in.readInt();
    this.mBreadCrumbTitleRes = in.readInt();
    this.mBreadCrumbTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
    this.mBreadCrumbShortTitleRes = in.readInt();
    this.mBreadCrumbShortTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
    this.mSharedElementSourceNames = in.createStringArrayList();
    this.mSharedElementTargetNames = in.createStringArrayList();
}
 
Example 10
Project: BLPlayer   File: VideoDetailData.java   View Source Code Vote up 5 votes
protected VideoDetailData(Parcel in) {
    this.author_info = in.readParcelable(AuthorInfoBean.class.getClassLoader());
    this.category = in.readString();
    this.category_url = in.readString();
    this.cid = in.readInt();
    this.create_time = in.readString();
    this.desc = in.readString();
    this.play_info = in.readParcelable(PlayInfoBean.class.getClassLoader());
    this.title = in.readString();
    this.video_info = in.readParcelable(VideoInfoBean.class.getClassLoader());
    this.relative_list = new ArrayList<VideoItem>();
    in.readList(this.relative_list, VideoItem.class.getClassLoader());
    this.tag_list = in.createStringArrayList();
}
 
Example 11
Project: Android_watch_magpie   File: MobileClient.java   View Source Code Vote up 5 votes
private MobileClient(Parcel in) {
    id = in.readLong();
    username = in.readString();
    gcmToken = in.readString();
    firstName = in.readString();
    lastName = in.readString();
    roles = in.createStringArrayList();
}
 
Example 12
Project: letv   File: BackStackState.java   View Source Code Vote up 5 votes
public BackStackState(Parcel in) {
    this.mOps = in.createIntArray();
    this.mTransition = in.readInt();
    this.mTransitionStyle = in.readInt();
    this.mName = in.readString();
    this.mIndex = in.readInt();
    this.mBreadCrumbTitleRes = in.readInt();
    this.mBreadCrumbTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
    this.mBreadCrumbShortTitleRes = in.readInt();
    this.mBreadCrumbShortTitleText = (CharSequence) TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
    this.mSharedElementSourceNames = in.createStringArrayList();
    this.mSharedElementTargetNames = in.createStringArrayList();
}
 
Example 13
Project: anitrend-app   File: Emoji.java   View Source Code Vote up 5 votes
protected Emoji(Parcel in) {
	emoji = in.readString();
	aliases = in.createStringArrayList();
	emoticons = in.createStringArrayList();
	tags = in.createStringArrayList();
	hexHtml = in.readString();
	decimalHtml = in.readString();
	decimalHtmlShort = in.readString();
	hexHtmlShort = in.readString();
	decimalSurrogateHtml = in.readString();
}
 
Example 14
Project: GongXianSheng   File: TransferResponse.java   View Source Code Vote up 5 votes
protected TransferResponse(Parcel in) {
        this.pickingID = in.readString();
        this.pickingName = in.readString();
        this.date = in.readString();
        this.pickingState = in.readString();
        this.locationName = in.readString();
        this.locationDestName = in.readString();
//        this.lines = in.createTypedArrayList(TransferDetailResponse.LinesBean.CREATOR);
        this.stateTracker = in.createStringArrayList();
        this.totalPrice = in.readFloat();
        this.totalNum = in.readInt();
        this.isConfirmed = in.readInt()==1;
        this.pickingStateFull = in.readString();
    }
 
Example 15
Project: CountryCurrencyPicker   File: Currency.java   View Source Code Vote up 5 votes
private Currency(Parcel in) {
    this.code = in.readString();
    this.name = in.readString();
    this.symbol = in.readString();
    this.flagId = (Integer) in.readValue(Integer.class.getClassLoader());
    this.countries = in.createTypedArrayList(Country.CREATOR);
    this.countriesNames = in.createStringArrayList();
}
 
Example 16
Project: AgentWeb   File: Action.java   View Source Code Vote up 4 votes
protected Action(Parcel in) {
    permissions = in.createStringArrayList();
    action = in.readInt();
    fromIntention = in.readInt();
}
 
Example 17
Project: VirtualHook   File: VPackage.java   View Source Code Vote up 4 votes
protected VPackage(Parcel in) {
    int N = in.readInt();
    this.activities = new ArrayList<>(N);
    while (N-- > 0) {
        activities.add(new ActivityComponent(in));
    }
    N = in.readInt();
    this.receivers = new ArrayList<>(N);
    while (N-- > 0) {
        receivers.add(new ActivityComponent(in));
    }
    N = in.readInt();
    this.providers = new ArrayList<>(N);
    while (N-- > 0) {
        providers.add(new ProviderComponent(in));
    }
    N = in.readInt();
    this.services = new ArrayList<>(N);
    while (N-- > 0) {
        services.add(new ServiceComponent(in));
    }
    N = in.readInt();
    this.instrumentation = new ArrayList<>(N);
    while (N-- > 0) {
        instrumentation.add(new InstrumentationComponent(in));
    }
    N = in.readInt();
    this.permissions = new ArrayList<>(N);
    while (N-- > 0) {
        permissions.add(new PermissionComponent(in));
    }
    N = in.readInt();
    this.permissionGroups = new ArrayList<>(N);
    while (N-- > 0) {
        permissionGroups.add(new PermissionGroupComponent(in));
    }
    this.requestedPermissions = in.createStringArrayList();
    this.protectedBroadcasts = in.createStringArrayList();
    this.applicationInfo = in.readParcelable(ApplicationInfo.class.getClassLoader());
    this.mAppMetaData = in.readBundle(Bundle.class.getClassLoader());
    this.packageName = in.readString();
    this.mPreferredOrder = in.readInt();
    this.mVersionName = in.readString();
    this.mSharedUserId = in.readString();
    this.usesLibraries = in.createStringArrayList();
    this.mVersionCode = in.readInt();
    this.mSharedUserLabel = in.readInt();
    this.configPreferences = in.createTypedArrayList(ConfigurationInfo.CREATOR);
    this.reqFeatures = in.createTypedArrayList(FeatureInfo.CREATOR);
}
 
Example 18
Project: Camera-Roll-Android-App   File: VirtualAlbum.java   View Source Code Vote up 4 votes
@SuppressWarnings("unused")
public VirtualAlbum(Parcel parcel) {
    super(parcel);
    directories = parcel.createStringArrayList();
}
 
Example 19
Project: BLPlayer   File: VideoDetailData.java   View Source Code Vote up 4 votes
protected VideoInfoBean(Parcel in) {
    this.length = in.readString();
    this.size = in.readString();
    this.url_list = in.createStringArrayList();
}
 
Example 20
Project: TPlayer   File: VPackage.java   View Source Code Vote up 4 votes
protected VPackage(Parcel in) {
    int N = in.readInt();
    this.activities = new ArrayList<>(N);
    while (N-- > 0) {
        activities.add(new ActivityComponent(in));
    }
    N = in.readInt();
    this.receivers = new ArrayList<>(N);
    while (N-- > 0) {
        receivers.add(new ActivityComponent(in));
    }
    N = in.readInt();
    this.providers = new ArrayList<>(N);
    while (N-- > 0) {
        providers.add(new ProviderComponent(in));
    }
    N = in.readInt();
    this.services = new ArrayList<>(N);
    while (N-- > 0) {
        services.add(new ServiceComponent(in));
    }
    N = in.readInt();
    this.instrumentation = new ArrayList<>(N);
    while (N-- > 0) {
        instrumentation.add(new InstrumentationComponent(in));
    }
    N = in.readInt();
    this.permissions = new ArrayList<>(N);
    while (N-- > 0) {
        permissions.add(new PermissionComponent(in));
    }
    N = in.readInt();
    this.permissionGroups = new ArrayList<>(N);
    while (N-- > 0) {
        permissionGroups.add(new PermissionGroupComponent(in));
    }
    this.requestedPermissions = in.createStringArrayList();
    this.protectedBroadcasts = in.createStringArrayList();
    this.applicationInfo = in.readParcelable(ApplicationInfo.class.getClassLoader());
    this.mAppMetaData = in.readBundle(Bundle.class.getClassLoader());
    this.packageName = in.readString();
    this.mPreferredOrder = in.readInt();
    this.mVersionName = in.readString();
    this.mSharedUserId = in.readString();
    this.usesLibraries = in.createStringArrayList();
    this.mVersionCode = in.readInt();
    this.mSharedUserLabel = in.readInt();
    this.configPreferences = in.createTypedArrayList(ConfigurationInfo.CREATOR);
    this.reqFeatures = in.createTypedArrayList(FeatureInfo.CREATOR);
}