fix [性别显示问题]
This commit is contained in:
parent
2ab97cb0f6
commit
462d7177c2
@ -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);
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user