package com.ss.android.ugc.aweme.inbox.widget;

import X.0Bv;
import X.0CB;
import X.0CD;
import X.0CH;
import X.0E3;
import X.1Bn;
import X.6Is;
import X.C1805Dfd;
import X.C1870Dgg;
import X.C1873Dgj;
import X.LeS;
import X.M12;
import android.content.Intent;
import androidx.fragment.app.Fragment;
import androidx.lifecycle.LiveData;
import com.bytedance.covode.number.Covode;
import java.util.LinkedHashMap;
import java.util.List;
import java.util.Map;

public abstract class InboxAdapterWidget implements 0CH, 6Is {
    public static final List<C1805Dfd> LJIIJJI = LeS.LIZIZ(new C1805Dfd[]{C1805Dfd.EMPTY, C1805Dfd.SUCCESS, C1805Dfd.FAIL});
    public static final C1873Dgj LJIIL = new C1873Dgj((byte) 0);
    public final 1Bn<Boolean> LIZ = new 1Bn<>();
    public final LiveData<Boolean> LIZIZ;
    public boolean LIZJ;
    public final Map<String, String> LJIIIIZZ = new LinkedHashMap();
    public final Fragment LJIIIZ;
    public final LiveData<C1805Dfd> LJIIJ;

    public abstract int LIZ(int i);

    public void LIZ(int i, int i2, Intent intent) {
    }

    public void LIZ(int i, C1870Dgg dgg) {
        M12.LIZ(dgg);
    }

    public void LIZ(0Bv r1) {
        M12.LIZ(r1);
    }

    public abstract 0E3<?> LIZJ();

    public abstract void LIZLLL();

    public abstract LiveData<C1805Dfd> LJFF();

    public 0CD getLifecycle() {
        return this.LJIIIZ.getLifecycle();
    }

    public void onStateChanged(0CH r1, 0CB r2) {
    }

    public 1Bn<Boolean> LJ() {
        return this.LIZ;
    }

    public LiveData<Boolean> cO_() {
        return this.LIZIZ;
    }

    public boolean cP_() {
        return this.LIZJ;
    }

    static {
        Covode.recordClassIndex(88084);
    }

    public String toString() {
        return "[widget: (" + getClass().getSimpleName() + ")] state: " + LJFF().getValue() + ", isExpanded: " + LJ().getValue();
    }

    public void LIZ(boolean z) {
        this.LIZJ = z;
    }

    public InboxAdapterWidget(Fragment fragment, LiveData<C1805Dfd> liveData) {
        M12.LIZ(fragment, liveData);
        this.LJIIIZ = fragment;
        this.LJIIJ = liveData;
    }
}
