本文整理汇总了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;
}
示例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);
}
示例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());
}
示例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());
}
示例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);
}
示例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;
}
示例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();
}
示例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());
}
示例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);
}
示例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();
}
示例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());
}
示例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));
}
示例13: readStringList
import android.os.Parcel; //导入方法依赖的package包/类
public static List<String> readStringList(Parcel parcel) {
List<String> sourceList = new ArrayList<>();
parcel.readStringList(sourceList);
return sourceList;
}
示例14: readFromParcel
import android.os.Parcel; //导入方法依赖的package包/类
private void readFromParcel(Parcel in) {
in.readStringList(mStudios);
in.readStringList(mGenres);
}