导航菜单

页面标题

页面副标题

95爱播免登录版 v3.1.9 - FragmentContainerActivity.java 源代码

正在查看: 95爱播免登录版 v3.1.9 应用的 FragmentContainerActivity.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package com.showself.ui;

import android.content.Intent;
import android.os.Bundle;
import androidx.fragment.app.Fragment;
import androidx.fragment.app.g;
import androidx.fragment.app.l;
import com.mifeng.ui.R;
import com.showself.utils.u0;
import com.vivo.push.PushClientConstants;

public class FragmentContainerActivity extends c {
    private g a;
    private Fragment b;

    @Override
    public void init() {
    }

    @Override
    protected void onActivityResult(int i2, int i3, Intent intent) {
        super.onActivityResult(i2, i3, intent);
        Fragment fragment = this.b;
        if (fragment != null) {
            fragment.onActivityResult(i2, i3, intent);
        }
    }

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        setContentView(R.layout.content_frame);
        u0.q(this, null);
        g supportFragmentManager = getSupportFragmentManager();
        this.a = supportFragmentManager;
        if (bundle != null) {
            this.b = supportFragmentManager.f(bundle, "mContent");
        }
        if (this.b == null) {
            this.b = Fragment.instantiate(getApplicationContext(), getIntent().getStringExtra(PushClientConstants.TAG_CLASS_NAME), getIntent().getExtras());
        }
        l a = this.a.a();
        a.q(R.id.content_frame, this.b);
        a.h();
    }

    public void onSaveInstanceState(Bundle bundle) {
        super.onSaveInstanceState(bundle);
        this.a.k(bundle, "mContent", this.b);
    }

    @Override
    public void refresh(Object... objArr) {
    }
}