|
@@ -2,6 +2,7 @@ package com.cooleshow.teacher.ui.homepage;
|
|
|
|
|
|
import android.graphics.Color;
|
|
|
import android.graphics.Typeface;
|
|
|
+import android.os.Bundle;
|
|
|
import android.text.TextUtils;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
@@ -13,6 +14,7 @@ import com.alibaba.android.arouter.facade.annotation.Route;
|
|
|
import com.alibaba.android.arouter.launcher.ARouter;
|
|
|
import com.cooleshow.base.constanst.EVipType;
|
|
|
import com.cooleshow.base.constanst.ExpireVipType;
|
|
|
+import com.cooleshow.base.constanst.StyleConfig;
|
|
|
import com.cooleshow.base.router.RouterPath;
|
|
|
import com.cooleshow.base.ui.activity.BaseMVPActivity;
|
|
|
import com.cooleshow.base.utils.DateUtil;
|
|
@@ -21,6 +23,7 @@ import com.cooleshow.base.utils.SizeUtils;
|
|
|
import com.cooleshow.base.utils.UiUtils;
|
|
|
import com.cooleshow.base.utils.Utils;
|
|
|
import com.cooleshow.base.utils.helper.QMUIStatusBarHelper;
|
|
|
+import com.cooleshow.chatmodule.utils.helper.IMThemManager;
|
|
|
import com.cooleshow.teacher.R;
|
|
|
import com.cooleshow.teacher.adapter.HomePagerAdapter;
|
|
|
import com.cooleshow.teacher.constants.TeacherInfoConstants;
|
|
@@ -42,6 +45,7 @@ import java.util.ArrayList;
|
|
|
import java.util.Arrays;
|
|
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
+import androidx.annotation.Nullable;
|
|
|
import androidx.fragment.app.Fragment;
|
|
|
|
|
|
/**
|
|
@@ -60,6 +64,13 @@ public class HomePageActivity extends BaseMVPActivity<ActivityHomePageNewLayoutB
|
|
|
|
|
|
private AppBarLayoutStateChangeListener.State lastState = AppBarLayoutStateChangeListener.State.EXPANDED;
|
|
|
|
|
|
+
|
|
|
+ @Override
|
|
|
+ protected void onCreate(@Nullable Bundle savedInstanceState) {
|
|
|
+ StyleConfig.setTheme(this);
|
|
|
+ super.onCreate(savedInstanceState);
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
protected void initView() {
|
|
|
// Utils.setHeadView(viewBinding.viewStatusBar, this, 0);
|