Skip to content

Commit 5c83259

Browse files
committed
Upgraded wishlist to 0.8
Includes code change in AlternatingColorListAdapter.java, view is no longer field of TypeAdapter.
1 parent 3192458 commit 5c83259

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

app/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
<dependency>
7878
<groupId>com.github.kevinsawicki</groupId>
7979
<artifactId>wishlist</artifactId>
80-
<version>0.5</version>
80+
<version>0.8</version>
8181
<type>apklib</type>
8282
</dependency>
8383
<dependency>

app/src/main/java/com/donnfelker/android/bootstrap/ui/AlternatingColorListAdapter.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@ public AlternatingColorListAdapter(final int layoutId,
5959
@Override
6060
protected void update(final int position, final V item) {
6161
if (position % 2 != 0)
62-
view.setBackgroundResource(primaryResource);
62+
updater.view.setBackgroundResource(primaryResource);
6363
else
64-
view.setBackgroundResource(secondaryResource);
64+
updater.view.setBackgroundResource(secondaryResource);
6565
}
6666
}

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy