1
0
Fork 0
mirror of https://github.com/KokaKiwi/BarInsta synced 2026-03-05 03:51:36 +00:00

avatar logic improvement

This commit is contained in:
Austin Huang 2020-12-27 22:26:09 -05:00
parent e8440e0e0d
commit cc05741cd0
No known key found for this signature in database
GPG key ID: 84C23AA04587A91F
2 changed files with 3 additions and 0 deletions

View file

@ -437,6 +437,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
@Override
public void onRefresh() {
profileDetailsBinding.mainProfileImage.setVisibility(View.INVISIBLE);
fetchProfileDetails();
}
@ -643,6 +644,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
}
}));
profileDetailsBinding.mainProfileImage.setImageURI(profileModel.getHdProfilePic());
profileDetailsBinding.mainProfileImage.setVisibility(View.VISIBLE);
final Long followersCount = profileModel.getFollowersCount();
final Long followingCount = profileModel.getFollowingCount();