public BundleBuilder putCharSequenceArrayList(String key, ArrayList<CharSequence> value) { bundle.putCharSequenceArrayList(key, value); return this; }
/** * Inserts an ArrayList<CharSequence> value into the mapping of the underlying Bundle, replacing * any existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null * @return this bundler instance to chain method calls */ public Bundler putCharSequenceArrayList(String key, ArrayList<CharSequence> value) { delegate.putCharSequenceArrayList(key, value); return this; }
/** * Inserts an ArrayList<CharSequence> value into the mapping of this Bundle, replacing * any existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null */ @TargetApi(8) public Bundler putCharSequenceArrayList(String key, ArrayList<CharSequence> value) { bundle.putCharSequenceArrayList(key, value); return this; }
/** * Inserts an ArrayList<CharSequence> value into the mapping of this Bundle, replacing * any existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null */ @TargetApi(8) public Bundler putCharSequenceArrayList(String key, ArrayList<CharSequence> value) { bundle.putCharSequenceArrayList(key, value); return this; }
when(bundle.getStringArrayList(anyString())).thenAnswer(get); doAnswer(put).when(bundle).putCharSequenceArrayList(anyString(), any(ArrayList.class)); when(bundle.getCharSequenceArrayList(anyString())).thenAnswer(get);
/** * 附加到Intent的Extra */ public DefaultUriRequest putIntentCharSequenceArrayListExtra(String name, ArrayList<CharSequence> value) { extra().putCharSequenceArrayList(name, value); return this; }
public Router putCharSequenceArrayList(@Nullable String key, @Nullable ArrayList<CharSequence> value) { getBundleData().putCharSequenceArrayList(key, value); return this; }
/** * Inserts an ArrayList<CharSequence> value into the mapping of this Bundle, replacing * any existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null */ public Bundler add(String key, ArrayList<CharSequence> value) { mBundle.putCharSequenceArrayList(key, value); return this; }
/** * Inserts an ArrayList<CharSequence> value into the mapping of the underlying Bundle, replacing * any existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null * @return this bundler instance to chain method calls */ public Bundler putCharSequenceArrayList(String key, ArrayList<CharSequence> value) { delegate.putCharSequenceArrayList(key, value); return this; }
public BundleBuilder addCharSequenceList(String key, ArrayList<CharSequence> value) { bundle.putCharSequenceArrayList(key, value); return this; }
public void putCharSequenceArrayList(Bundle state, String key, ArrayList<CharSequence> x) { state.putCharSequenceArrayList(key + mBaseKey, x); }
/** * Inserts an ArrayList<CharSequence> value into the mapping of this Bundle, replacing * any existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null */ @TargetApi(8) public Bundler putCharSequenceArrayList(String key, ArrayList<CharSequence> value) { bundle.putCharSequenceArrayList(key, value); return this; }
/** * Inserts an ArrayList<CharSequence> value into the mapping of this Bundle, replacing * any existing value for the given key. Either key or value may be null. * * @param key a String, or null * @param value an ArrayList<CharSequence> object, or null */ @TargetApi(8) public Bundler putCharSequenceArrayList(String key, ArrayList<CharSequence> value) { bundle.putCharSequenceArrayList(key, value); return this; }
@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); }
@NonNull @Override @CheckResult public Navigation putCharSequenceArrayListExtra(@NonNull String name, @NonNull ArrayList<CharSequence> value) { bundle.putCharSequenceArrayList(name, value); return this; }
/** * @param items The list items, or {@code null} for no list. */ public AlertDialogFragment items(@Nullable ArrayList<CharSequence> items) { getArgs().putCharSequenceArrayList("items", items); return this; }
public Router putCharSequenceArrayList(@Nullable String key, @Nullable ArrayList<CharSequence> value) { getBundleData().putCharSequenceArrayList(key, value); return this; }
/** * @param items The list items, or {@code null} for no list. */ public FrameworkAlertDialogFragment items(@Nullable ArrayList<CharSequence> items) { getArgs().putCharSequenceArrayList("items", items); return this; }
@Override public void onSaveInstanceState(Bundle savedInstanceState) { super.onSaveInstanceState(savedInstanceState); savedInstanceState.putParcelable(STATE_URI, mUri); savedInstanceState.putInt(STATE_PAGE, mPage); savedInstanceState.putInt(STATE_ZOOM_LEVEL, mZoomLevel); savedInstanceState.putCharSequenceArrayList(STATE_PROPERTIES, (ArrayList<CharSequence>) mDocumentProperties); }
public static DocumentPropertiesFragment getInstance(final ArrayList<CharSequence> metaData) { if (sDocumentPropertiesFragment == null) { sDocumentPropertiesFragment = new DocumentPropertiesFragment(); final Bundle args = new Bundle(); args.putCharSequenceArrayList(KEY_DOCUMENT_PROPERTIES, metaData); sDocumentPropertiesFragment.setArguments(args); } else { final Bundle args = sDocumentPropertiesFragment.getArguments(); args.clear(); args.putCharSequenceArrayList(KEY_DOCUMENT_PROPERTIES, metaData); } return sDocumentPropertiesFragment; }