添加忘记密码界面

0515
panqihua 5 years ago
parent 163e238eef
commit d8ef883db9
  1. 3
      app/src/main/java/com/community/pocket/ui/BaseActivity.java
  2. 3
      app/src/main/java/com/community/pocket/ui/BaseFragment.java
  3. 3
      app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdActivity.java
  4. 3
      app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java
  5. 3
      app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep2.java

@ -8,6 +8,9 @@ import androidx.appcompat.app.AppCompatActivity;
import org.xutils.x; import org.xutils.x;
/**
* 封装初始化xutils逻辑
*/
public abstract class BaseActivity extends AppCompatActivity { public abstract class BaseActivity extends AppCompatActivity {
@Override @Override
protected void attachBaseContext(Context newBase) { protected void attachBaseContext(Context newBase) {

@ -11,6 +11,9 @@ import androidx.fragment.app.Fragment;
import org.xutils.x; import org.xutils.x;
/**
* 封装初始化xutils逻辑
*/
public abstract class BaseFragment extends Fragment { public abstract class BaseFragment extends Fragment {
@Nullable @Nullable
@Override @Override

@ -5,6 +5,9 @@ import com.community.pocket.ui.BaseActivity;
import org.xutils.view.annotation.ContentView; import org.xutils.view.annotation.ContentView;
/**
* 重置密码界面
*/
@ContentView(R.layout.activity) @ContentView(R.layout.activity)
public class ResetPwdActivity extends BaseActivity { public class ResetPwdActivity extends BaseActivity {

@ -12,6 +12,9 @@ import com.community.pocket.ui.login.LoginActivity;
import org.xutils.view.annotation.ContentView; import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event; import org.xutils.view.annotation.Event;
/**
* 重置密码第一步输入账号邮箱
*/
@ContentView(R.layout.step1) @ContentView(R.layout.step1)
public class ResetPwdStep1 extends BaseFragment { public class ResetPwdStep1 extends BaseFragment {
//进入下一步发送验证码 //进入下一步发送验证码

@ -11,6 +11,9 @@ import com.community.pocket.ui.BaseFragment;
import org.xutils.view.annotation.ContentView; import org.xutils.view.annotation.ContentView;
import org.xutils.view.annotation.Event; import org.xutils.view.annotation.Event;
/**
* 重置密码第二步发送验证码输入
*/
@ContentView(R.layout.step2) @ContentView(R.layout.step2)
public class ResetPwdStep2 extends BaseFragment { public class ResetPwdStep2 extends BaseFragment {

Loading…
Cancel
Save