예제 #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());
  }
예제 #2
0
 @Override
 public void onVisitBlogButtonClicked() {
   ActivityLauncher.visitBlog(getActivity());
 }