Skip to content

Commit

Permalink
Fixed rookie bug.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbutcher committed Nov 24, 2015
1 parent 3936eaf commit 83e6c74
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions app/src/main/java/io/plaidapp/ui/FeedAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,12 +139,16 @@ public void onBindViewHolder(RecyclerView.ViewHolder holder, int position) {
switch (getItemViewType(position)) {
case TYPE_DESIGNER_NEWS_STORY:
bindDesignerNewsStory((Story) getItem(position), (DesignerNewsStoryHolder) holder);
break;
case TYPE_DRIBBBLE_SHOT:
bindDribbbleShotHolder((Shot) getItem(position), (DribbbleShotHolder) holder);
break;
case TYPE_PRODUCT_HUNT_POST:
bindProductHuntPostView((Post) getItem(position), (ProductHuntStoryHolder) holder);
break;
case TYPE_LOADING_MORE:
bindLoadingViewHolder((LoadingMoreHolder) holder);
break;
}
}

Expand Down

0 comments on commit 83e6c74

Please sign in to comment.