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

The following are Jave code examples for showing how to use readStringList() 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: stynico   File: FolderChooserConfig.java   View Source Code Vote up 6 votes
public FolderChooserConfig createFromParcel(Parcel parcel)
   {
              boolean bl2 = true;
              FolderChooserConfig folderChooserConfig = new FolderChooserConfig();
              folderChooserConfig.title = parcel.readString();
              folderChooserConfig.subtitle = parcel.readString();
              folderChooserConfig.roots = new ArrayList();
              parcel.readStringList(folderChooserConfig.roots);
              boolean bl3 = parcel.readByte() != 0 && bl2;
              folderChooserConfig.showHidden = bl3;
              boolean bl4 = parcel.readByte() != 0 && bl2;
              folderChooserConfig.mustBeWritable = bl4;
              boolean bl5 = parcel.readByte() != 0 && bl2;
              folderChooserConfig.expandSingularRoot = bl5;
              if (parcel.readByte() == 0)
{
                  bl2 = false;
              }
              folderChooserConfig.expandMultipleRoots = bl2;
              return folderChooserConfig;
          }
 
Example 2
Project: Renrentou   File: MediaDevice.java   View Source Code Vote up 6 votes
public MediaDevice(Parcel in){
    deviceType = in.readString();
    deviceStatus = in.readString();
    basePrice = in.readFloat();
    state = in.readString();
    keyWords = in.readString();
    name = in.readString();
    description = in.readString();
    playTime = in.readString();
    playFrequency = in.readInt();
    lng = in.readFloat();
    lat = in.readFloat();
    districtCode = in.readString();
    address = in.readString();
    owner = in.readString();
    createTime = in.readString();
    updateTime = in.readString();
    id = in.readString();
    contentUrl = in.readString();
    devicePictureUrls = new ArrayList<>();
    in.readStringList(devicePictureUrls);
}
 
Example 3
Project: NoticeDog   File: Notification.java   View Source Code Vote up 6 votes
public Notification(Parcel in) {
    this.expandedInboxText = new ArrayList();
    this.people = new ArrayList();
    this.actions = new ArrayList();
    this.packageName = in.readString();
    this.id = in.readInt();
    this.tag = in.readString();
    this.key = in.readString();
    this.when = in.readLong();
    this.smallIcon = in.readInt();
    this.largeIcon = (Bitmap) in.readParcelable(Bitmap.class.getClassLoader());
    this.tickerText = in.readString();
    this.contentTitle = in.readString();
    this.contentText = in.readString();
    this.contentInfoText = in.readString();
    this.expandedLargeIconBig = (Bitmap) in.readParcelable(Bitmap.class.getClassLoader());
    this.expandedContentTitle = in.readString();
    this.expandedContentText = in.readString();
    in.readStringList(this.expandedInboxText);
    in.readList(this.people, Uri.class.getClassLoader());
    this.picture = (Bitmap) in.readParcelable(Bitmap.class.getClassLoader());
    this.priority = in.readInt();
    this.pendingLaunchIntent = (PendingIntent) in.readParcelable(PendingIntent.class.getClassLoader());
    in.readList(this.actions, Action.class.getClassLoader());
}
 
Example 4
Project: Sega   File: Product.java   View Source Code Vote up 6 votes
private Product(Parcel in) {
    productid = in.readInt();
    productname = in.readString();
    userid = in.readInt();
    username = in.readString();
    categoryname = in.readString();
    productaddress=in.readString();
    areaproduct = in.readString();
    productstatus = in.readString();
    productdate = in.readString();
  in.readStringList(productimage);
    price = in.readDouble();
    description=in.readString();
    sharecount=in.readString();
    location = in.readParcelable(LatLng.class.getClassLoader());
}
 
Example 5
Project: kognitivo   File: GameRequestContent.java   View Source Code Vote up 5 votes
GameRequestContent(final Parcel in) {
    this.message = in.readString();
    this.to = in.readString();
    this.title = in.readString();
    this.data = in.readString();
    this.actionType = ActionType.valueOf(in.readString());
    this.objectId = in.readString();
    this.filters = Filters.valueOf(in.readString());
    this.suggestions = new ArrayList<>();
    in.readStringList(this.suggestions);
}
 
Example 6
Project: kognitivo   File: LoginClient.java   View Source Code Vote up 5 votes
private Request(Parcel parcel) {
    String enumValue = parcel.readString();
    this.loginBehavior = enumValue != null ? LoginBehavior.valueOf(enumValue) : null;
    ArrayList<String> permissionsList = new ArrayList<>();
    parcel.readStringList(permissionsList);
    this.permissions = new HashSet<String>(permissionsList);
    enumValue = parcel.readString();
    this.defaultAudience = enumValue != null ? DefaultAudience.valueOf(enumValue) : null;
    this.applicationId = parcel.readString();
    this.authId = parcel.readString();
    this.isRerequest = parcel.readByte() != 0 ? true : false;
}
 
Example 7
Project: kognitivo   File: AccessToken.java   View Source Code Vote up 5 votes
AccessToken(Parcel parcel) {
    this.expires = new Date(parcel.readLong());
    ArrayList<String> permissionsList = new ArrayList<>();
    parcel.readStringList(permissionsList);
    this.permissions = Collections.unmodifiableSet(new HashSet<String>(permissionsList));
    permissionsList.clear();
    parcel.readStringList(permissionsList);
    this.declinedPermissions = Collections.unmodifiableSet(
            new HashSet<String>(permissionsList));
    this.token = parcel.readString();
    this.source = AccessTokenSource.valueOf(parcel.readString());
    this.lastRefresh = new Date(parcel.readLong());
    this.applicationId = parcel.readString();
    this.userId = parcel.readString();
}
 
Example 8
Project: Phoenix-for-VK   File: MagicKey.java   View Source Code Vote up 5 votes
public MagicKey(final Parcel in) {
    in.readStringList(mParamList);

    for (int i = 0, n = in.readInt(); i < n; i++) {
        mTypeList.add(in.readInt());
    }

    mBundle = in.readBundle(getClass().getClassLoader());
}
 
Example 9
Project: bluewatcher   File: GenericAppConfig.java   View Source Code Vote up 5 votes
private GenericAppConfig(Parcel in) {
	messageFilters = new ArrayList<String>();
	appPackage = in.readString();
	appDisplayName = in.readString();
	label = in.readString();
	prefix = in.readString();
	alertType = in.readInt();
	in.readStringList(messageFilters);
}
 
Example 10
Project: Songify   File: Song.java   View Source Code Vote up 5 votes
private Song(Parcel in) {
    mId = in.readLong();
    mTitle = in.readString();
    mArtists = in.readString();
    in.readStringList(mAlbumImageUrls);
    mDataParsed = in.readString();
}
 
Example 11
Project: aos-MediaLib   File: BaseTags.java   View Source Code Vote up 5 votes
private void readFromParcel(Parcel in) {
    mId = in.readLong();
    mTitle = in.readString();
    mRating = in.readFloat();
    mPlot = in.readString();
    in.readMap(mActors, LinkedHashMap.class.getClassLoader());
    in.readStringList(mDirectors);
    mFile = Uri.parse(in.readString());
}
 
Example 12
Project: kognitivo   File: ShareContent.java   View Source Code Vote up 4 votes
private List<String> readUnmodifiableStringList(final Parcel in) {
    final List<String> list = new ArrayList<String>();
    in.readStringList(list);
    return (list.size() == 0 ? null : Collections.unmodifiableList(list));
}
 
Example 13
Project: xlight_android_native   File: Parcelables.java   View Source Code Vote up 4 votes
public static List<String> readStringList(Parcel parcel) {
    List<String> sourceList = new ArrayList<>();
    parcel.readStringList(sourceList);
    return sourceList;
}
 
Example 14
Project: aos-MediaLib   File: VideoTags.java   View Source Code Vote up 4 votes
private void readFromParcel(Parcel in) {
    in.readStringList(mStudios);
    in.readStringList(mGenres);
}