|
@@ -6,7 +6,6 @@ import android.view.View;
|
|
|
import androidx.annotation.Nullable;
|
|
import androidx.annotation.Nullable;
|
|
|
import androidx.appcompat.widget.Toolbar;
|
|
import androidx.appcompat.widget.Toolbar;
|
|
|
|
|
|
|
|
-import com.jude.swipbackhelper.SwipeBackHelper;
|
|
|
|
|
import com.miekir.eden.R;
|
|
import com.miekir.eden.R;
|
|
|
import com.miekir.mvp.view.BaseMVPActivity;
|
|
import com.miekir.mvp.view.BaseMVPActivity;
|
|
|
|
|
|
|
@@ -28,7 +27,7 @@ public abstract class BaseBeiActivity extends BaseMVPActivity {
|
|
|
protected void onPostCreate(@Nullable Bundle savedInstanceState) {
|
|
protected void onPostCreate(@Nullable Bundle savedInstanceState) {
|
|
|
super.onPostCreate(savedInstanceState);
|
|
super.onPostCreate(savedInstanceState);
|
|
|
if (canSwipeBack()) {
|
|
if (canSwipeBack()) {
|
|
|
- SwipeBackHelper.onPostCreate(this);
|
|
|
|
|
|
|
+ //SwipeBackHelper.onPostCreate(this);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -36,7 +35,7 @@ public abstract class BaseBeiActivity extends BaseMVPActivity {
|
|
|
protected void onDestroy() {
|
|
protected void onDestroy() {
|
|
|
super.onDestroy();
|
|
super.onDestroy();
|
|
|
if (canSwipeBack()) {
|
|
if (canSwipeBack()) {
|
|
|
- SwipeBackHelper.onDestroy(this);
|
|
|
|
|
|
|
+ //SwipeBackHelper.onDestroy(this);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -44,7 +43,7 @@ public abstract class BaseBeiActivity extends BaseMVPActivity {
|
|
|
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
|
protected void onCreate(@Nullable Bundle savedInstanceState) {
|
|
|
super.onCreate(savedInstanceState);
|
|
super.onCreate(savedInstanceState);
|
|
|
if (canSwipeBack()) {
|
|
if (canSwipeBack()) {
|
|
|
- SwipeBackHelper.onCreate(this);
|
|
|
|
|
|
|
+ //SwipeBackHelper.onCreate(this);
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// 状态栏深色模式,改变状态栏文字颜色(白底黑字)
|
|
// 状态栏深色模式,改变状态栏文字颜色(白底黑字)
|