Skip to content

Commit

Permalink
Made ViewHolder inner classes static.
Browse files Browse the repository at this point in the history
  • Loading branch information
nickbutcher committed Feb 17, 2016
1 parent 460fd3c commit 3725d1d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/src/main/java/io/plaidapp/ui/FeedAdapter.java
Original file line number Diff line number Diff line change
Expand Up @@ -639,7 +639,7 @@ public void dataFinishedLoading() {
notifyItemRemoved(loadingPos);
}

/* package */ class DribbbleShotHolder extends RecyclerView.ViewHolder {
/* package */ static class DribbbleShotHolder extends RecyclerView.ViewHolder {

BadgedFourThreeImageView image;

Expand All @@ -650,7 +650,7 @@ public DribbbleShotHolder(View itemView) {

}

/* package */ class DesignerNewsStoryHolder extends RecyclerView.ViewHolder {
/* package */ static class DesignerNewsStoryHolder extends RecyclerView.ViewHolder {

@Bind(R.id.story_title) TextView title;
@Bind(R.id.story_comments) TextView comments;
Expand All @@ -663,7 +663,7 @@ public DesignerNewsStoryHolder(View itemView, boolean pocketIsInstalled) {
}
}

/* package */ class ProductHuntStoryHolder extends RecyclerView.ViewHolder {
/* package */ static class ProductHuntStoryHolder extends RecyclerView.ViewHolder {

@Bind(R.id.hunt_title) TextView title;
@Bind(R.id.tagline) TextView tagline;
Expand All @@ -675,7 +675,7 @@ public ProductHuntStoryHolder(View itemView) {
}
}

/* package */ class LoadingMoreHolder extends RecyclerView.ViewHolder {
/* package */ static class LoadingMoreHolder extends RecyclerView.ViewHolder {

ProgressBar progress;

Expand Down

0 comments on commit 3725d1d

Please sign in to comment.