|
|
|
package com.community.pocket.ui.resetpwd;
|
|
|
|
|
|
|
|
import android.content.Intent;
|
|
|
|
import android.os.Build;
|
|
|
|
import android.view.View;
|
|
|
|
import android.widget.Toast;
|
|
|
|
|
|
|
|
import androidx.annotation.RequiresApi;
|
|
|
|
|
|
|
|
import com.community.pocket.R;
|
|
|
|
import com.community.pocket.ui.BaseFragment;
|
|
|
|
import com.community.pocket.ui.login.LoginActivity;
|
|
|
|
|
|
|
|
import org.xutils.view.annotation.ContentView;
|
|
|
|
import org.xutils.view.annotation.Event;
|
|
|
|
|
|
|
|
import java.util.Objects;
|
|
|
|
|
|
|
|
/**
|
|
|
|
* 重置密码第三步,输入密码
|
|
|
|
*/
|
|
|
|
@ContentView(R.layout.step3)
|
|
|
|
public class ResetPwdStep3 extends BaseFragment {
|
|
|
|
|
|
|
|
@Event(value = R.id.reset_pwd)
|
|
|
|
private void resetPwd(View v) {
|
|
|
|
Toast.makeText(getContext(), R.string.action_reset_password, Toast.LENGTH_SHORT).show();
|
|
|
|
}
|
|
|
|
|
|
|
|
@RequiresApi(api = Build.VERSION_CODES.KITKAT)
|
|
|
|
@Event(value = R.id.back)
|
|
|
|
private void back(View v) {
|
|
|
|
startActivity(new Intent(getContext(), LoginActivity.class));
|
|
|
|
Objects.requireNonNull(getActivity()).finish();
|
|
|
|
}
|
|
|
|
}
|