use of me.ccrama.redditslide.Adapters.SubmissionViewHolder in project Slide by ccrama.
the class RedditItemView method doSubmission.
public void doSubmission(Submission submission, View content) {
final SubmissionViewHolder holder = new SubmissionViewHolder(content);
CreateCardView.resetColorCard(holder.itemView);
if (submission.getSubredditName() != null) {
CreateCardView.colorCard(submission.getSubredditName().toLowerCase(Locale.ENGLISH), holder.itemView, "no_subreddit", false);
}
new PopulateSubmissionViewHolder().populateSubmissionViewHolder(holder, submission, ((PeekViewActivity) getContext()), false, false, null, null, false, false, null, null);
}
Aggregations