...
|
...
|
@@ -65,7 +65,7 @@ public class MineFragment extends BaseMvpFragment<CommonPresenter, PersonalModel |
|
|
RelativeLayout rlEnd;
|
|
|
private Intent intent;
|
|
|
private FragmentTransaction transaction;
|
|
|
// private PraticeWrongFragment wrongFragment;
|
|
|
// private PraticeWrongFragment wrongFragment;
|
|
|
private String accountOid;
|
|
|
|
|
|
@Override
|
...
|
...
|
@@ -130,7 +130,7 @@ public class MineFragment extends BaseMvpFragment<CommonPresenter, PersonalModel |
|
|
if (bean.getUserName() != null)
|
|
|
SharedPrefrenceUtils.saveString(getActivity(), "UserName", bean.getUserName());
|
|
|
tvUser.setText(bean.getUserName());
|
|
|
Log.e("getUserName",bean.getUserName().trim());
|
|
|
Log.e("getUserName", bean.getUserName().trim());
|
|
|
if (bean.getLoginName() != null)
|
|
|
SharedPrefrenceUtils.saveString(getActivity(), "LoginName", bean.getLoginName());
|
|
|
if (bean.getHeadPic() != null && !bean.getHeadPic().equals("")) {
|
...
|
...
|
@@ -196,17 +196,17 @@ public class MineFragment extends BaseMvpFragment<CommonPresenter, PersonalModel |
|
|
startActivity(intent);
|
|
|
break;
|
|
|
case R.id.rl_study:
|
|
|
// intent = new Intent(getActivity(), StudyNoteActivity.class);
|
|
|
intent = new Intent(getActivity(), StudyNoteActivity.class);
|
|
|
startActivity(intent);
|
|
|
// intent = new Intent(getActivity(), StudyActivity.class);
|
|
|
// intent.putExtra("study_tag", "1");
|
|
|
// startActivity(intent);
|
|
|
intent = new Intent(getActivity(), StudyActivity.class);
|
|
|
intent.putExtra("study_tag","1");
|
|
|
|
|
|
break;
|
|
|
case R.id.rl_cuoti:
|
|
|
// transaction.replace(R.id.frame, wrongFragment);
|
|
|
// transaction.commit();
|
|
|
Intent intent = new Intent(getActivity(), PracticeActivity.class);
|
|
|
intent.putExtra("tag","2");
|
|
|
intent.putExtra("tag", "2");
|
|
|
startActivity(intent);
|
|
|
break;
|
|
|
case R.id.rl_end:
|
...
|
...
|
|