Ejemplo n.º 1
0
  @Override
  public void onNotesSelected(NoteInfo note) {
    if (!isAdded()) return;

    if (note == null) {
      ToastUtils.showToast(getActivity(), R.string.note_not_found);
      return;
    }

    ActivityLauncher.previewNoteForResult(getActivity(), note.getId());
  }