use of com.xwray.groupie.ViewHolder in project PocketHub by pockethub.
the class NewsEventTextTest method updateView.
private void updateView(GitHubEvent event) {
NewsItem item = NewsItem.createNewsItem(avatarLoader, event);
View itemView = layoutInflater.inflate(item.getLayout(), null);
ViewHolder viewHolder = item.createViewHolder(itemView);
item.bind((com.xwray.groupie.kotlinandroidextensions.ViewHolder) viewHolder, 0);
text = viewHolder.itemView.findViewById(R.id.tv_event);
assertNotNull(text);
}
Aggregations