@ -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) {
@ -11,6 +11,9 @@ import androidx.fragment.app.Fragment;
public abstract class BaseFragment extends Fragment {
@Nullable
@ -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 {
@ -12,6 +12,9 @@ import com.community.pocket.ui.login.LoginActivity;
import org.xutils.view.annotation.Event;
* 重置密码第一步,输入账号邮箱
@ContentView(R.layout.step1)
public class ResetPwdStep1 extends BaseFragment {
//进入下一步发送验证码
@ -11,6 +11,9 @@ import com.community.pocket.ui.BaseFragment;
* 重置密码第二步,发送验证码,输入
@ContentView(R.layout.step2)
public class ResetPwdStep2 extends BaseFragment {