package com.ss.android.ugc.aweme.recommend;

import X.0Bu;
import X.2HN;
import X.2Px;
import X.3Ok;
import X.4r1;
import X.5Am;
import X.C0436Cwu;
import X.C0782DAc;
import X.C0849DCr;
import X.C2134Dkw;
import X.C2250Dmo;
import X.C2253Dmr;
import X.C2349DoP;
import X.C2350DoQ;
import X.C2352DoS;
import X.C2358DoY;
import X.C2380Dou;
import X.C2381Dov;
import X.C5020EqO;
import X.DAU;
import X.DBT;
import X.DL2;
import X.DLF;
import X.LsC;
import X.LsD;
import X.M12;
import X.PgU;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.arch.ext.list.CommonListViewModel;
import com.bytedance.jedi.arch.ext.list.ListState;
import com.ss.android.ugc.aweme.profile.model.User;
import java.util.List;
import kotlin.h.b.n;

public final class RecommendListViewModel extends CommonListViewModel<User, RecommendUserListState> {
    public static final C2358DoY LIZJ = new C2358DoY((byte) 0);
    public DL2 LIZ;
    public final C2380Dou LIZIZ = C5020EqO.LIZ.LIZ();

    static {
        Covode.recordClassIndex(102244);
    }

    public final LsD<List<? extends User>, List<? extends User>, List<User>> LJIIIZ() {
        return 2Px.LIZ;
    }

    public final LsC<RecommendUserListState, PgU<C0436Cwu<List<User>, C2381Dov>>> LIZIZ() {
        return new C2350DoQ(this);
    }

    public final LsC<RecommendUserListState, PgU<C0436Cwu<List<User>, C2381Dov>>> LIZJ() {
        return new C2349DoP(this);
    }

    public final /* synthetic */ 5Am dU_() {
        return new RecommendUserListState((String) null, (String) null, false, 0, (String) null, (C2134Dkw) null, (ListState) null, 127, (2HN) null);
    }

    public final void onCleared() {
        super.onCleared();
        this.LIZIZ.LIZ.cv_();
    }

    public final void cl_() {
        super.cl_();
        b_(new C2253Dmr(this));
        DBT unused = C0782DAc.LIZ(0Bu.LIZ(this), C0849DCr.LIZLLL, (DAU) null, new DLF((4r1) null), 2);
    }

    public final boolean LIZ(User user) {
        M12.LIZ(user);
        C2380Dou dou = this.LIZIZ;
        String uid = user.getUid();
        n.LIZIZ(uid, "");
        dou.LIZ(uid, user.getSecUid()).LIZJ();
        LIZJ(new C2250Dmo(user));
        3Ok r1 = new 3Ok();
        r1.element = false;
        b_(new C2352DoS(r1));
        return r1.element;
    }
}
