@Override public void onHeadlineSelected(int articleIndex) { this.articleIndex = articleIndex; if (hasTwoPanes) { // display it on the article fragment display.setArticle(getCurrentCategory().getArticle(articleIndex)); } else { display.showArticleActivity(categoryIndex, articleIndex); } }