| 文件名从 app/src/main/java/cn/flightfeather/thirdapp/fragment/CardFragment.java 修改 |
| | |
| | | package cn.flightfeather.thirdapp.fragment; |
| | | package cn.flightfeather.thirdapp.module.login; |
| | | |
| | | |
| | | import android.content.Context; |
| | |
| | | import cn.flightfeather.thirdapp.activity.LoginActivity; |
| | | import cn.flightfeather.thirdapp.bean.entity.Userinfo; |
| | | import cn.flightfeather.thirdapp.module.MainActivity; |
| | | import cn.flightfeather.thirdapp.util.push.LoginInitializer; |
| | | import retrofit2.Call; |
| | | import retrofit2.Callback; |
| | | import retrofit2.Response; |
| | |
| | | application.setCurrentUser(user); |
| | | useinfoDao.deleteAll(); |
| | | useinfoDao.insert(user); |
| | | LoginInitializer.INSTANCE.onLoginStatusCheck(getContext(), true, accountName); |
| | | Toast.makeText(application, "鐧诲綍鎴愬姛", Toast.LENGTH_SHORT).show(); |
| | | startActivity(new Intent(getActivity(), MainActivity.class)); |
| | | getActivity().finish(); |