mirror of
https://github.com/KokaKiwi/BarInsta
synced 2024-11-22 22:57:29 +00:00
avatar logic improvement
This commit is contained in:
parent
e8440e0e0d
commit
cc05741cd0
@ -437,6 +437,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void onRefresh() {
|
public void onRefresh() {
|
||||||
|
profileDetailsBinding.mainProfileImage.setVisibility(View.INVISIBLE);
|
||||||
fetchProfileDetails();
|
fetchProfileDetails();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -643,6 +644,7 @@ public class ProfileFragment extends Fragment implements SwipeRefreshLayout.OnRe
|
|||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
profileDetailsBinding.mainProfileImage.setImageURI(profileModel.getHdProfilePic());
|
profileDetailsBinding.mainProfileImage.setImageURI(profileModel.getHdProfilePic());
|
||||||
|
profileDetailsBinding.mainProfileImage.setVisibility(View.VISIBLE);
|
||||||
|
|
||||||
final Long followersCount = profileModel.getFollowersCount();
|
final Long followersCount = profileModel.getFollowersCount();
|
||||||
final Long followingCount = profileModel.getFollowingCount();
|
final Long followingCount = profileModel.getFollowingCount();
|
||||||
|
@ -14,6 +14,7 @@
|
|||||||
android:layout_marginStart="8dp"
|
android:layout_marginStart="8dp"
|
||||||
android:layout_marginTop="8dp"
|
android:layout_marginTop="8dp"
|
||||||
android:transitionName="profile_pic"
|
android:transitionName="profile_pic"
|
||||||
|
android:visibility="invisible"
|
||||||
app:actualImageScaleType="centerCrop"
|
app:actualImageScaleType="centerCrop"
|
||||||
app:layout_constraintEnd_toStartOf="@id/mainPostCount"
|
app:layout_constraintEnd_toStartOf="@id/mainPostCount"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
Loading…
Reference in New Issue
Block a user