From 5ded2cd7b4f4cdd6859b5f6b2413be827c153f95 Mon Sep 17 00:00:00 2001 From: Pierre Date: Sat, 18 Nov 2017 11:38:56 +0100 Subject: [PATCH] Improved friends list rendering --- .../android/comunic/client/data/friendsList/FriendsAdapter.java | 1 + 1 file changed, 1 insertion(+) diff --git a/app/src/main/java/org/communiquons/android/comunic/client/data/friendsList/FriendsAdapter.java b/app/src/main/java/org/communiquons/android/comunic/client/data/friendsList/FriendsAdapter.java index e614fdf..75baa13 100644 --- a/app/src/main/java/org/communiquons/android/comunic/client/data/friendsList/FriendsAdapter.java +++ b/app/src/main/java/org/communiquons/android/comunic/client/data/friendsList/FriendsAdapter.java @@ -53,6 +53,7 @@ public class FriendsAdapter extends ArrayAdapter { //Update user account image ImageView user_image = listItemView.findViewById(R.id.fragment_friendslist_item_accountimage); + user_image.setImageDrawable(getContext().getDrawable(R.drawable.default_account_image)); ImageLoadManager.load(getContext(), friendUser.getUserInfo().getAcountImageURL(), user_image); //Update user name