package com.ss.android.ugc.aweme.notification.model;

import X.0Gi;
import X.0Gp;
import X.Bb9;
import X.C3878EVe;
import X.EWS;
import com.bytedance.covode.number.Covode;
import com.ss.android.ugc.aweme.base.api.BaseResponse;
import kotlin.h.b.n;

public final class LikeListModel$fetchLikeList$1<TTaskResult, TContinuationResult> implements 0Gi {
    public final /* synthetic */ LikeListModel this$0;

    static {
        Covode.recordClassIndex(95608);
    }

    public LikeListModel$fetchLikeList$1(LikeListModel likeListModel) {
        this.this$0 = likeListModel;
    }

    public final void then(0Gp<C3878EVe> r4) {
        EWS ews = EWS.LIZIZ;
        n.LIZIZ(r4, "");
        ews.LIZ((BaseResponse) r4.LIZLLL());
        if (!r4.LIZJ()) {
            this.this$0.handleData((C3878EVe) r4.LIZLLL());
            if (this.this$0.mNotifyListeners != null) {
                for (Bb9 LIZJ : this.this$0.mNotifyListeners) {
                    LIZJ.LIZJ();
                }
            }
        } else if (this.this$0.mNotifyListeners != null) {
            for (Bb9 b_ : this.this$0.mNotifyListeners) {
                b_.b_(r4.LJ());
            }
        }
    }
}
