Browse Source

下拉代码

小狼 5 years ago
parent
commit
862e46531d

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

132
         String loginsex = intent.getStringExtra("loginsex");
132
         String loginsex = intent.getStringExtra("loginsex");
133
         String loginindent = intent.getStringExtra("loginindent");
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
         name.setText(loginname);
138
         name.setText(loginname);
141
         sex.setText(loginsex);
139
         sex.setText(loginsex);
142
         typetext.setText(loginindent);
140
         typetext.setText(loginindent);

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

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