导航菜单

页面标题

页面副标题

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

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

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


package com.olxgroup.panamera.app.seller.posting.activities;

import android.os.Bundle;
import com.olx.southasia.p;
import com.olxgroup.panamera.app.common.utils.k1;
import com.olxgroup.panamera.app.common.utils.p1;
import olx.com.delorean.domain.entity.category.Category;

public class PostingEditActivity extends PostingActivity {
    private void t4(Category category) {
        p1.r().F(category.getMaxPhotos().getC2c());
    }

    private void u4(Category category) {
        p1.r().G(category.getMinPhotos().getC2c());
    }

    @Override
    public boolean T3() {
        return true;
    }

    @Override
    protected void onCreate(Bundle bundle) {
        super.onCreate(bundle);
        w4();
        v4();
        Category categoryForPost = this.p0.getCategoryForPost(this.i0.getPostingDraft().getCategoryId());
        if (categoryForPost != null) {
            t4(categoryForPost);
            u4(categoryForPost);
            s4(categoryForPost);
            return;
        }
        k1.a(this, getResources().getString(p.connection_error_title));
        ((com.olxgroup.panamera.app.common.activities.c) this).U.log("PostingEditActivity : Category = null : Posting Draft = " + this.i0.getPostingDraft());
        finish();
    }

    protected void v4() {
        this.n0.setPostingFlowType("edition");
        this.k0.setPostingFlowType("edition");
    }

    protected void w4() {
        this.n0.setOriginEditFlow();
    }
}