导航菜单

页面标题

页面副标题

OLX India v19.42.007 - NotificationCenterActivity.java 源代码

正在查看: OLX India v19.42.007 应用的 NotificationCenterActivity.java JAVA 源代码文件

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


package olx.com.delorean.view.notificationCenter;

import android.content.Intent;
import android.os.Bundle;
import com.naspers.notificationhub.views.fragments.NotificationsListFragment;
import com.olx.southasia.e;
import com.olx.southasia.g;
import com.olx.southasia.p;
import com.olxgroup.panamera.app.common.helpers.l;
import com.olxgroup.panamera.app.common.utils.c1;
import olx.com.delorean.domain.repository.NotificationHubService;

public class NotificationCenterActivity extends a {
    NotificationHubService i0;

    private void initFragment() {
        if (o3()) {
            b3(NotificationsListFragment.n5(), true);
        }
    }

    private boolean o3() {
        return l.R0();
    }

    protected void onActivityResult(int i, int i2, Intent intent) {
        super/*com.olxgroup.panamera.app.common.activities.c*/.onActivityResult(i, i2, intent);
        if (com.olxgroup.panamera.app.common.activities.c.p2(i) && i2 == -1) {
            initFragment();
        }
    }

    public void onBackPressed() {
        super.onBackPressed();
        C2();
    }

    public void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        B2();
        if (bundle == null) {
            initFragment();
            this.i0.markAllAsSeen();
        }
        M2().setTitle(getString(p.notifications_title));
        getSupportActionBar().A(c1.c(this, g.ic_clear, e.textColorPrimaryDark));
        n3(true);
    }

    protected String t2() {
        return "notifications";
    }
}