當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。