Created
January 15, 2017 13:58
-
-
Save madhu314/a27ec45e23741810742ee13b40fdc003 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Override public void onBindViewHolder(ViewHolder holder, int position) { | |
Article article = articleDataset.getArticle(position); | |
holder.bindTo(article, this); | |
} | |
@Override public int getItemCount() { | |
return articleDataset == null ? 0 : articleDataset.size(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment