Improved friends list rendering

This commit is contained in:
Pierre 2017-11-18 11:38:56 +01:00
parent a1d791b232
commit 5ded2cd7b4

View File

@ -53,6 +53,7 @@ public class FriendsAdapter extends ArrayAdapter<FriendUser> {
//Update user account image //Update user account image
ImageView user_image = listItemView.findViewById(R.id.fragment_friendslist_item_accountimage); 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); ImageLoadManager.load(getContext(), friendUser.getUserInfo().getAcountImageURL(), user_image);
//Update user name //Update user name