aboutsummaryrefslogtreecommitdiff
path: root/res/layout/user_list_item.xml
diff options
context:
space:
mode:
authorScott Jackson <daneren2005@gmail.com>2015-03-08 17:28:19 -0700
committerScott Jackson <daneren2005@gmail.com>2015-03-08 17:28:19 -0700
commitb2ea0d0f28a9c583234fc1d83115b514db7c049f (patch)
treeeb3dc8707ac5fa55a9f96f26d8d39607a9432948 /res/layout/user_list_item.xml
parentb71b8726238c30a16dfbdd525cc68dfc52ceb36e (diff)
downloaddsub-b2ea0d0f28a9c583234fc1d83115b514db7c049f.tar.gz
dsub-b2ea0d0f28a9c583234fc1d83115b514db7c049f.tar.bz2
dsub-b2ea0d0f28a9c583234fc1d83115b514db7c049f.zip
Get around the random recycled bitmap errors from calling onDraw after a bitmap had been recycled to make room for a new one. This isn't the ideal fix since it will show a blank image, but it is better than just crashing.
Diffstat (limited to 'res/layout/user_list_item.xml')
-rw-r--r--res/layout/user_list_item.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/res/layout/user_list_item.xml b/res/layout/user_list_item.xml
index ac408295..146c44d5 100644
--- a/res/layout/user_list_item.xml
+++ b/res/layout/user_list_item.xml
@@ -5,7 +5,7 @@
android:layout_height="wrap_content"
android:background="@android:color/transparent">
- <ImageView
+ <github.daneren2005.dsub.view.RecyclingImageView
android:id="@+id/item_avatar"
android:src="@drawable/ic_social_person"
android:layout_width="@dimen/AlbumArt.Small"