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)) { if (!contextIsExist(context)) {
return; return;
} }
if(StringUtil.isEmpty(url)){
return;
}
RequestBuilder<Drawable> builder = Glide.with(context) RequestBuilder<Drawable> builder = Glide.with(context)
.load(url); .load(url);

View File

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

View File

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