コード例 #1
0
  /** Invoked when adding new reading list is required. */
  private void onAddReadingList() {
    if (GlobalController.SINGLETON.checkForNewSubscription()) return;

    URL[] newListURLs = queryForURL();
    if (newListURLs != null) {
      for (URL url : newListURLs) readingListsModel.addList(url);
    }
  }
コード例 #2
0
 /**
  * Returns the list of feeds to mark.
  *
  * @return feeds.
  */
 protected IFeed[] getFeeds() {
   return GlobalController.SINGLETON.getSelectedFeeds();
 }