use of com.gh4a.model.Feed in project gh4a by slapperwan.
the class CommonFeedAdapter method onClick.
@Override
public void onClick(View v) {
if (v.getId() == R.id.iv_gravatar) {
Feed feed = (Feed) v.getTag();
Intent intent = UserActivity.makeIntent(mContext, feed.getAuthor());
if (intent != null) {
mContext.startActivity(intent);
}
} else {
super.onClick(v);
}
}