Available Methods
- putString ( )
- putInt ( )
- getString ( )
- putBoolean ( )
- getInt ( )
- putParcelable ( )
- getBoolean ( )
- getParcelable ( )
- putSerializable ( )
- containsKey ( )
- putLong ( )
- getSerializable ( )
- get ( )
- getLong ( )
- keySet ( )
- putStringArrayList ( )
- putParcelableArrayList ( )
- putBundle ( )
- putFloat ( )
- getStringArrayList ( )
- getParcelableArrayList ( )
- putStringArray ( )
- putDouble ( )
- getBundle ( )
- putByteArray ( )
- getFloat ( )
- putAll ( )
- putFloatArray ( )
- getStringArray ( )
- putCharSequence ( )
- setClassLoader ( )
- remove ( )
- putIntArray ( )
- writeToParcel ( )
- getCharSequence ( )
- getIntArray ( )
- getParcelableArray ( )
- putParcelableArray ( )
- putIntegerArrayList ( )
- getByteArray ( )
- EMPTY
- getDouble ( )
- getFloatArray ( )
- isEmpty ( )
- putLongArray ( )
- size ( )
- getIntegerArrayList ( )
- putSparseParcelableArray ( )
- getSparseParcelableArray ( )
- putBooleanArray ( )
- clear ( )
- putByte ( )
- putShort ( )
- setDefusable ( )
- putShortArray ( )
- setAllowFds ( )
- putDoubleArray ( )
- putCharArray ( )
- getLongArray ( )
- toString ( )
- getBooleanArray ( )
- putChar ( )
- putCharSequenceArray ( )
- putBinder ( )
- putParcelableList ( )
- getShort ( )
- getCharSequenceArray ( )
- getCharSequenceArrayList ( )
- putCharSequenceArrayList ( )
- getClassLoader ( )
- getCharArray ( )
- getByte ( )
Related Classes
- java.io.File
- android.content.Context
- android.view.View
- android.util.Log
- android.widget.TextView
- android.content.Intent
- android.view.ViewGroup
- android.app.Activity
- android.view.LayoutInflater
- android.os.Build
- android.widget.Toast
- android.widget.ImageView
- android.graphics.Color
- android.os.Handler
- android.net.Uri
- android.widget.Button
- android.graphics.Bitmap
- android.text.TextUtils
- android.widget.LinearLayout
- android.content.pm.PackageManager
- android.support.annotation.Nullable
- android.widget.EditText
- android.content.SharedPreferences
- android.support.annotation.NonNull
- android.annotation.SuppressLint
Java Code Examples for android.os.bundle#putCharSequenceArrayList()
The following examples show how to use
android.os.bundle#putCharSequenceArrayList() .
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: ExampleActivityAutoBundle.java From AutoBundle with Apache License 2.0 | 5 votes |
public static void pack(@NonNull ExampleActivity source, @NonNull Bundle args) { args.putInt("type2", source.type2); if (source.getName() != null) { args.putString("name", source.getName()); } else { throw new IllegalStateException("name must not be null."); } args.putInt("type1", source.type1); if (source.getAltName() != null) { args.putString("optionalName", source.getAltName()); } if (source.fooList != null) { args.putCharSequenceArrayList("fooList", source.fooList); } if (source.exampleData != null) { ParcelableConverter exampleDataConverter = new ParcelableConverter(); args.putParcelable("exampleData", exampleDataConverter.convert(source.exampleData) ); } if (source.persons != null) { args.putParcelableArrayList("persons", source.persons); } if (source.getExampleData2() != null) { ParcelableConverter exampleData2Converter = new ParcelableConverter(); args.putParcelable("exampleData2", exampleData2Converter.convert(source.getExampleData2()) ); } if (source.integerField != null) { args.putInt("integerField", source.integerField); } if (source.booleanField != null) { args.putBoolean("booleanField", source.booleanField); } args.putInt("intOption", source.intOption); }
Example 2
Source File: InjectionHelper.java From android-state with Eclipse Public License 1.0 | 4 votes |
public void putCharSequenceArrayList(Bundle state, String key, ArrayList<CharSequence> x) { state.putCharSequenceArrayList(key + mBaseKey, x); }
Example 3
Source File: BundlerListCharSequence.java From android-state with Eclipse Public License 1.0 | 4 votes |
@Override public void put(@NonNull String key, @NonNull List<CharSequence> value, @NonNull Bundle bundle) { ArrayList<CharSequence> arrayList = value instanceof ArrayList ? (ArrayList<CharSequence>) value : new ArrayList<>(value); bundle.putCharSequenceArrayList(key, arrayList); }
Example 4
Source File: ArrayListBundler.java From postman with MIT License | 4 votes |
@Override public void writeToBundle(ArrayList<CharSequence> list, Bundle bundle, String key) { bundle.putCharSequenceArrayList(key, list); }