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 {