Example usage for android.os Parcel readHashMap

List of usage examples for android.os Parcel readHashMap

Introduction

In this page you can find the example usage for android.os Parcel readHashMap.

Prototype

public final HashMap readHashMap(ClassLoader loader) 

Source Link

Document

Please use #readBundle(ClassLoader) instead (whose data must have been written with #writeBundle .

Usage

From source file:no.ntnu.osnap.social.models.Message.java

public Message(Parcel in) throws JSONException {
    super(in.readString());
    mTransl = in.readHashMap(null);
}

From source file:no.ntnu.osnap.social.models.Notification.java

public Notification(Parcel in) throws JSONException {
    super(in.readString());
    mTransl = in.readHashMap(null);
}

From source file:com.citrus.sdk.payment.PaymentBill.java

private PaymentBill(Parcel in) {
    this.amount = in.readParcelable(Amount.class.getClassLoader());
    this.requestSignature = in.readString();
    this.merchantTransactionId = in.readString();
    this.merchantAccessKey = in.readString();
    this.returnUrl = in.readString();
    this.notifyUrl = in.readString();
    this.customParametersMap = in.readHashMap(String.class.getClassLoader());
}

From source file:fr.free.nrw.commons.Media.java

@SuppressWarnings("unchecked")
public Media(Parcel in) {
    localUri = in.readParcelable(Uri.class.getClassLoader());
    thumbUrl = in.readString();/*from w ww  .  j a v  a2  s .  c om*/
    imageUrl = in.readString();
    filename = in.readString();
    description = in.readString();
    dataLength = in.readLong();
    dateCreated = (Date) in.readSerializable();
    dateUploaded = (Date) in.readSerializable();
    creator = in.readString();
    tags = (HashMap<String, Object>) in.readSerializable();
    width = in.readInt();
    height = in.readInt();
    license = in.readString();
    if (categories != null) {
        in.readStringList(categories);
    }
    descriptions = in.readHashMap(ClassLoader.getSystemClassLoader());
}

From source file:com.citrus.sdk.TransactionResponse.java

private TransactionResponse(Parcel in) {
    this.balanceAmount = in.readParcelable(Amount.class.getClassLoader());
    this.transactionAmount = in.readParcelable(Amount.class.getClassLoader());
    this.message = in.readString();
    this.responseCode = in.readString();
    int tmpTransactionStatus = in.readInt();
    this.transactionStatus = tmpTransactionStatus == -1 ? null
            : TransactionStatus.values()[tmpTransactionStatus];
    this.transactionDetails = in.readParcelable(TransactionDetails.class.getClassLoader());
    this.citrusUser = in.readParcelable(CitrusUser.class.getClassLoader());
    int tmpPaymentMode = in.readInt();
    this.paymentMode = tmpPaymentMode == -1 ? null : PaymentMode.values()[tmpPaymentMode];
    this.issuerCode = in.readString();
    this.impsMobileNumber = in.readString();
    this.impsMmid = in.readString();
    this.authIdCode = in.readString();
    this.signature = in.readString();
    this.maskedCardNumber = in.readString();
    this.COD = in.readByte() != 0;
    this.customParamsMap = in.readHashMap(String.class.getClassLoader());
    this.jsonResponse = in.readString();
}