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


Java Parcel.readStringList方法代码示例

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


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

示例1: createFromParcel

import android.os.Parcel; //导入方法依赖的package包/类
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;
          }
 
开发者ID:stytooldex,项目名称:stynico,代码行数:22,代码来源:FolderChooserConfig.java

示例2: MediaDevice

import android.os.Parcel; //导入方法依赖的package包/类
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);
}
 
开发者ID:ruiqiao2017,项目名称:Renrentou,代码行数:23,代码来源:MediaDevice.java

示例3: Notification

import android.os.Parcel; //导入方法依赖的package包/类
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());
}
 
开发者ID:bunnyblue,项目名称:NoticeDog,代码行数:26,代码来源:Notification.java

示例4: Product

import android.os.Parcel; //导入方法依赖的package包/类
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());
}
 
开发者ID:sega4revenge,项目名称:Sega,代码行数:17,代码来源:Product.java

示例5: GameRequestContent

import android.os.Parcel; //导入方法依赖的package包/类
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);
}
 
开发者ID:eviltnan,项目名称:kognitivo,代码行数:12,代码来源:GameRequestContent.java

示例6: Request

import android.os.Parcel; //导入方法依赖的package包/类
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;
}
 
开发者ID:eviltnan,项目名称:kognitivo,代码行数:13,代码来源:LoginClient.java

示例7: AccessToken

import android.os.Parcel; //导入方法依赖的package包/类
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();
}
 
开发者ID:eviltnan,项目名称:kognitivo,代码行数:16,代码来源:AccessToken.java

示例8: MagicKey

import android.os.Parcel; //导入方法依赖的package包/类
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());
}
 
开发者ID:PhoenixDevTeam,项目名称:Phoenix-for-VK,代码行数:10,代码来源:MagicKey.java

示例9: GenericAppConfig

import android.os.Parcel; //导入方法依赖的package包/类
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);
}
 
开发者ID:masterjc,项目名称:bluewatcher,代码行数:10,代码来源:GenericAppConfig.java

示例10: Song

import android.os.Parcel; //导入方法依赖的package包/类
private Song(Parcel in) {
    mId = in.readLong();
    mTitle = in.readString();
    mArtists = in.readString();
    in.readStringList(mAlbumImageUrls);
    mDataParsed = in.readString();
}
 
开发者ID:AkshayPall,项目名称:Songify,代码行数:8,代码来源:Song.java

示例11: readFromParcel

import android.os.Parcel; //导入方法依赖的package包/类
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());
}
 
开发者ID:archos-sa,项目名称:aos-MediaLib,代码行数:10,代码来源:BaseTags.java

示例12: readUnmodifiableStringList

import android.os.Parcel; //导入方法依赖的package包/类
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));
}
 
开发者ID:eviltnan,项目名称:kognitivo,代码行数:6,代码来源:ShareContent.java

示例13: readStringList

import android.os.Parcel; //导入方法依赖的package包/类
public static List<String> readStringList(Parcel parcel) {
    List<String> sourceList = new ArrayList<>();
    parcel.readStringList(sourceList);
    return sourceList;
}
 
开发者ID:Datatellit,项目名称:xlight_android_native,代码行数:6,代码来源:Parcelables.java

示例14: readFromParcel

import android.os.Parcel; //导入方法依赖的package包/类
private void readFromParcel(Parcel in) {
    in.readStringList(mStudios);
    in.readStringList(mGenres);
}
 
开发者ID:archos-sa,项目名称:aos-MediaLib,代码行数:5,代码来源:VideoTags.java


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