You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

37 lines
991 B

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();
}
}