From d8ef883db940069d26ec2f57a8f97c8d79ba4dda Mon Sep 17 00:00:00 2001 From: panqihua <1029559041@qq.com> Date: Tue, 24 Mar 2020 06:07:06 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=E5=BF=98=E8=AE=B0=E5=AF=86?= =?UTF-8?q?=E7=A0=81=E7=95=8C=E9=9D=A2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/src/main/java/com/community/pocket/ui/BaseActivity.java | 3 +++ app/src/main/java/com/community/pocket/ui/BaseFragment.java | 3 +++ .../com/community/pocket/ui/resetpwd/ResetPwdActivity.java | 3 +++ .../java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java | 3 +++ .../java/com/community/pocket/ui/resetpwd/ResetPwdStep2.java | 3 +++ 5 files changed, 15 insertions(+) diff --git a/app/src/main/java/com/community/pocket/ui/BaseActivity.java b/app/src/main/java/com/community/pocket/ui/BaseActivity.java index 2829f62..3b5b3c6 100644 --- a/app/src/main/java/com/community/pocket/ui/BaseActivity.java +++ b/app/src/main/java/com/community/pocket/ui/BaseActivity.java @@ -8,6 +8,9 @@ import androidx.appcompat.app.AppCompatActivity; import org.xutils.x; +/** + * 封装初始化xutils逻辑 + */ public abstract class BaseActivity extends AppCompatActivity { @Override protected void attachBaseContext(Context newBase) { diff --git a/app/src/main/java/com/community/pocket/ui/BaseFragment.java b/app/src/main/java/com/community/pocket/ui/BaseFragment.java index 5c8c5b4..cadb5ba 100644 --- a/app/src/main/java/com/community/pocket/ui/BaseFragment.java +++ b/app/src/main/java/com/community/pocket/ui/BaseFragment.java @@ -11,6 +11,9 @@ import androidx.fragment.app.Fragment; import org.xutils.x; +/** + * 封装初始化xutils逻辑 + */ public abstract class BaseFragment extends Fragment { @Nullable @Override diff --git a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdActivity.java b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdActivity.java index 6c839ff..db20067 100644 --- a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdActivity.java +++ b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdActivity.java @@ -5,6 +5,9 @@ import com.community.pocket.ui.BaseActivity; import org.xutils.view.annotation.ContentView; +/** + * 重置密码界面 + */ @ContentView(R.layout.activity) public class ResetPwdActivity extends BaseActivity { diff --git a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java index ef83c06..2bcea1b 100644 --- a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java +++ b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep1.java @@ -12,6 +12,9 @@ import com.community.pocket.ui.login.LoginActivity; import org.xutils.view.annotation.ContentView; import org.xutils.view.annotation.Event; +/** + * 重置密码第一步,输入账号邮箱 + */ @ContentView(R.layout.step1) public class ResetPwdStep1 extends BaseFragment { //进入下一步发送验证码 diff --git a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep2.java b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep2.java index fb7758c..9d1cf45 100644 --- a/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep2.java +++ b/app/src/main/java/com/community/pocket/ui/resetpwd/ResetPwdStep2.java @@ -11,6 +11,9 @@ import com.community.pocket.ui.BaseFragment; import org.xutils.view.annotation.ContentView; import org.xutils.view.annotation.Event; +/** + * 重置密码第二步,发送验证码,输入 + */ @ContentView(R.layout.step2) public class ResetPwdStep2 extends BaseFragment {