浏览代码

下拉代码

小狼 5 年之前
父节点
当前提交
862e46531d

+ 3 - 5
app/src/main/java/com/smileflowpig/money/moneyplatfrom/activities/MySetTwoActivity.java

@@ -132,11 +132,9 @@ public class MySetTwoActivity extends PresenterActivity implements View.OnClickL
132 132
         String loginsex = intent.getStringExtra("loginsex");
133 133
         String loginindent = intent.getStringExtra("loginindent");
134 134
 
135
-        if(loginicon.equals("")){
136
-            icon.setImageResource(R.mipmap.loginicon);
137
-        }else {
138
-            Glide.with(MySetTwoActivity.this).load(loginicon).error(R.mipmap.loginicon).into(icon);
139
-        }
135
+
136
+        Glide.with(MySetTwoActivity.this).load(loginicon).error(R.mipmap.loginicon).into(icon);
137
+
140 138
         name.setText(loginname);
141 139
         sex.setText(loginsex);
142 140
         typetext.setText(loginindent);

+ 0 - 3
app/src/main/java/com/smileflowpig/money/moneyplatfrom/frags/main/state/NewMineFragment.java

@@ -227,7 +227,6 @@ public class NewMineFragment extends PresenterFragment<StateContract.Presenter>
227 227
                     intent.putExtra("myphone", myphone);
228 228
                     startActivity(intent);
229 229
                 }
230
-
231 230
                 MobclickAgent.onEvent(getActivity(), "mineData");
232 231
                 break;
233 232
             case R.id.mine_icon:
@@ -256,7 +255,6 @@ public class NewMineFragment extends PresenterFragment<StateContract.Presenter>
256 255
                 } else {
257 256
                     Intent intent = new Intent(getActivity(), MyCollectActivity.class);
258 257
                     startActivityForResult(intent, Constant.Code.REQUEST_CODEF);
259
-
260 258
                 }
261 259
                 MobclickAgent.onEvent(getActivity(), "mineCollectInto");
262 260
                 break;
@@ -277,7 +275,6 @@ public class NewMineFragment extends PresenterFragment<StateContract.Presenter>
277 275
                     startActivity(intent2);
278 276
                 }
279 277
                 MobclickAgent.onEvent(getActivity(), "mineMemoInto");
280
-
281 278
                 break;
282 279
             //常见问题
283 280
             case R.id.my_question: