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

import X.2HN;
import X.2Py;
import X.5Am;
import X.C0436Cwu;
import X.C2313Dnp;
import X.C2372Dom;
import X.C2373Don;
import X.C2375Dop;
import X.C2379Dot;
import X.C2380Dou;
import X.C2381Dov;
import X.C5020EqO;
import X.Lea;
import X.Lel;
import X.LsC;
import X.LsD;
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;

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

    static {
        Covode.recordClassIndex(102337);
    }

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

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

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

    public final void cl_() {
        super.cl_();
        b_(new C2375Dop(this));
    }

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

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

    public final List<User> LIZ(List<? extends User> list) {
        if (list != null) {
            return Lea.LJII(list);
        }
        return Lel.INSTANCE;
    }
}
