List of usage examples for android.os Bundle putCharSequence
@Override public void putCharSequence(@Nullable String key, @Nullable CharSequence value)
From source file:com.abcvoipsip.ui.dialpad.DialerAutocompleteDetailsFragment.java
@Override public void onSaveInstanceState(Bundle outState) { outState.putCharSequence(EXTRA_FILTER_CONSTRAINT, constraint); super.onSaveInstanceState(outState); }
From source file:de.vanita5.twittnuker.fragment.support.AddUserListMemberDialogFragment.java
@Override public void onSaveInstanceState(final Bundle outState) { outState.putCharSequence(EXTRA_TEXT, mEditText.getText()); super.onSaveInstanceState(outState); }
From source file:com.github.pockethub.ui.comment.RenderedCommentFragment.java
/** * Set text to render/*from ww w.j a v a 2 s. c o m*/ * * @param raw * @param repo */ public void setText(final String raw, final Repo repo) { Bundle args = new Bundle(); args.putCharSequence(ARG_TEXT, raw); if (repo instanceof Serializable) args.putParcelable(ARG_REPO, repo); getLoaderManager().restartLoader(0, args, this); Keyboard.hideSoftInput(bodyText); showLoading(true); }
From source file:com.github.mobile.ui.comment.RenderedCommentFragment.java
/** * Set text to render/*from www . ja va 2s. co m*/ * * @param raw * @param repo */ public void setText(final String raw, final IRepositoryIdProvider repo) { Bundle args = new Bundle(); args.putCharSequence(ARG_TEXT, raw); if (repo instanceof Serializable) args.putSerializable(ARG_REPO, (Serializable) repo); getLoaderManager().restartLoader(0, args, this); Keyboard.hideSoftInput(bodyText); showLoading(true); }
From source file:com.github.pockethub.android.ui.comment.RenderedCommentFragment.java
/** * Set text to render/* w w w. java 2 s. c o m*/ * * @param raw * @param repo */ public void setText(final String raw, final Repository repo) { Bundle args = new Bundle(); args.putCharSequence(ARG_TEXT, raw); if (repo instanceof Serializable) { args.putParcelable(ARG_REPO, repo); } getLoaderManager().restartLoader(0, args, this); Keyboard.hideSoftInput(bodyText); showLoading(true); }
From source file:mobi.espier.lgc.LgcApp.java
public void onNotification(CharSequence packageName, Notification notification, long time) { Message message = mHandler.obtainMessage(MSG_ON_NOTIFICATION); Bundle data = new Bundle(); data.putCharSequence(KEY_PACKAGE_NAME, packageName); data.putParcelable(KEY_NOTIFICATION, notification); data.putLong(KEY_NOTIFICATION_TIME, time); message.setData(data);// w w w.j a va 2 s .com mHandler.sendMessage(message); }
From source file:com.grarak.kerneladiutor.activities.EditorActivity.java
@Override protected void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putCharSequence(EDITTEXT_INTENT, mEditText.getText()); }
From source file:de.uni.stuttgart.informatik.ToureNPlaner.UI.Dialogs.TextDialog.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putCharSequence("content", input.getText()); }
From source file:info.papdt.blacklight.ui.friendships.FriendsFragment.java
public FriendsFragment(String uid, boolean friends) { Bundle args = new Bundle(); args.putCharSequence("uid", uid); args.putBoolean("isFriends", friends); setArguments(args);// www .j a va2s . c o m init(); }
From source file:siarhei.luskanau.gps.tracker.free.ui.progress.AlertDialogFragment.java
@Override public void onSaveInstanceState(Bundle outState) { super.onSaveInstanceState(outState); outState.putCharSequence(TITLE_ARG, title); outState.putCharSequence(MESSAGE_ARG, message); }