45 lines
1.2 KiB
Java
45 lines
1.2 KiB
Java
package com.gh.gamecenter;
|
|
|
|
import android.content.Context;
|
|
import android.content.Intent;
|
|
import android.os.Bundle;
|
|
|
|
import androidx.annotation.NonNull;
|
|
|
|
import com.gh.gamecenter.common.base.activity.ToolBarActivity;
|
|
import com.gh.gamecenter.common.constant.EntranceConsts;
|
|
import com.gh.gamecenter.common.utils.ExtensionsKt;
|
|
import com.halo.assistant.fragment.myconcern.MyConcernFragment;
|
|
|
|
/**
|
|
* 我的关注页面
|
|
*/
|
|
public class ConcernActivity extends ToolBarActivity {
|
|
|
|
@Override
|
|
protected void onCreate(Bundle savedInstanceState) {
|
|
super.onCreate(savedInstanceState);
|
|
ExtensionsKt.updateStatusBarColor(this, R.color.ui_surface, R.color.ui_surface);
|
|
}
|
|
|
|
@Override
|
|
protected boolean isAutoResetViewBackgroundEnabled() {
|
|
return true;
|
|
}
|
|
|
|
@Override
|
|
protected void onDarkModeChanged() {
|
|
super.onDarkModeChanged();
|
|
ExtensionsKt.updateStatusBarColor(this, R.color.ui_surface, R.color.ui_surface);
|
|
}
|
|
|
|
@NonNull
|
|
public static Intent getIntent(Context context, String entrance) {
|
|
Bundle args = new Bundle();
|
|
args.putString(EntranceConsts.KEY_ENTRANCE, entrance);
|
|
return getTargetIntent(context, ConcernActivity.class, MyConcernFragment.class, args);
|
|
}
|
|
|
|
|
|
}
|