Browse Source
avatar logic improvement
renovate/org.robolectric-robolectric-4.x
Austin Huang
4 years ago
No known key found for this signature in database
GPG Key ID: 84C23AA04587A91F
2 changed files with
3 additions and
0 deletions
-
app/src/main/java/awais/instagrabber/fragments/main/ProfileFragment.java
-
app/src/main/res/layout/layout_profile_details.xml
|
|
@ -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(); |
|
|
|
|
|
@ -14,6 +14,7 @@ |
|
|
|
android:layout_marginStart="8dp" |
|
|
|
android:layout_marginTop="8dp" |
|
|
|
android:transitionName="profile_pic" |
|
|
|
android:visibility="invisible" |
|
|
|
app:actualImageScaleType="centerCrop" |
|
|
|
app:layout_constraintEnd_toStartOf="@id/mainPostCount" |
|
|
|
app:layout_constraintStart_toStartOf="parent" |
|
|
|