fix [性别显示问题]

This commit is contained in:
zlzw 2024-03-28 14:54:07 +08:00
parent 2ab97cb0f6
commit 462d7177c2
3 changed files with 6 additions and 3 deletions

View File

@ -48,6 +48,9 @@ public class ImgLoader {
if (!contextIsExist(context)) {
return;
}
if(StringUtil.isEmpty(url)){
return;
}
RequestBuilder<Drawable> builder = Glide.with(context)
.load(url);

View File

@ -359,7 +359,7 @@ public class EditProfileActivity extends AbsActivity {
} else if (i == R.id.btn_sex) {
// forwardSex();
new XPopup.Builder(mContext)
/*new XPopup.Builder(mContext)
.asCustom(new UpdateSexPopup(mContext, userModel.getSex(), new UpdateSexPopup.UpdateSexCallBack() {
@Override
public void onSex(int sex) {
@ -376,7 +376,7 @@ public class EditProfileActivity extends AbsActivity {
});
}
}))
.show();
.show();*/
} else if (i == R.id.btn_city) {
CountryPicker.newInstance(null, new OnPick() {
@Override

View File

@ -204,7 +204,7 @@
android:id="@+id/btn_sex"
style="@style/edit_profile_group_not_color"
android:onClick="editProfileClick"
android:visibility="gone">
android:visibility="visible">
<TextView
android:layout_width="wrap_content"