| | |
| | | public void onClick(DialogInterface dialogInterface, int i) { |
| | | LoginInitializer.INSTANCE.onLoginStatusCheck(getContext(), false, application.getCurrentUser().getAcountname()); |
| | | |
| | | Intent intent = new Intent(getActivity(), LoginActivity.class); |
| | | startActivity(intent); |
| | | onLogOut(); |
| | | getActivity().finish(); |
| | | } |
| | | }); |
| | | dialog.setNegativeButton("取消",null); |
| | | dialog.show(); |
| | | } |
| | | |
| | | protected void onLogOut() { |
| | | Intent intent = new Intent(getActivity(), LoginActivity.class); |
| | | startActivity(intent); |
| | | } |
| | | |
| | | private void changePassword(){ |
| | | final View view2 = View.inflate(getContext(), R.layout.dialog_change_password, null); |
| | | |