Skip to content

Commit

Permalink
Upgraded wishlist to 0.8
Browse files Browse the repository at this point in the history
Includes code change in AlternatingColorListAdapter.java, view is no longer field of TypeAdapter.
  • Loading branch information
krtek committed Dec 4, 2012
1 parent 3192458 commit 5c83259
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@
<dependency>
<groupId>com.github.kevinsawicki</groupId>
<artifactId>wishlist</artifactId>
<version>0.5</version>
<version>0.8</version>
<type>apklib</type>
</dependency>
<dependency>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@ public AlternatingColorListAdapter(final int layoutId,
@Override
protected void update(final int position, final V item) {
if (position % 2 != 0)
view.setBackgroundResource(primaryResource);
updater.view.setBackgroundResource(primaryResource);
else
view.setBackgroundResource(secondaryResource);
updater.view.setBackgroundResource(secondaryResource);
}
}

0 comments on commit 5c83259

Please sign in to comment.