package com.ss.android.ugc.aweme.following.ui.viewholder;

import X.0CB;
import X.0CH;
import X.6Is;
import X.9Y3;
import X.BJY;
import X.BJZ;
import X.M12;
import android.view.View;
import android.widget.TextView;
import com.bytedance.covode.number.Covode;
import com.bytedance.jedi.ext.adapter.JediSimpleViewHolder;
import kotlin.h.b.n;

public final class RecommendRelationTitleViewHolder extends JediSimpleViewHolder<BJZ> implements 6Is {
    public final View LJFF;
    public final View LJI;
    public final TextView LJIIIZ;

    static {
        Covode.recordClassIndex(80968);
    }

    public final void onStateChanged(0CH r1, 0CB r2) {
        super.onStateChanged(r1, r2);
    }

    /* JADX INFO: super call moved to the top of the method (can break code semantics) */
    public RecommendRelationTitleViewHolder(View view) {
        super(view);
        M12.LIZ(view);
        View findViewById = this.itemView.findViewById(2131364136);
        n.LIZIZ(findViewById, "");
        this.LJI = findViewById;
        View findViewById2 = this.itemView.findViewById(2131372536);
        n.LIZIZ(findViewById2, "");
        this.LJIIIZ = (TextView) findViewById2;
        View findViewById3 = this.itemView.findViewById(2131368825);
        n.LIZIZ(findViewById3, "");
        this.LJFF = findViewById3;
    }

    public final /* synthetic */ void LIZ(Object obj) {
        BJZ bjz = (BJZ) obj;
        M12.LIZ(bjz);
        this.LJIIIZ.setText(bjz.LIZIZ);
        this.LJI.setVisibility(8);
        if (!9Y3.LIZ(9Y3.LIZ(), true, "enable_privacy_reminder", false) || bjz.LIZ != 4) {
            this.LJFF.setVisibility(8);
            return;
        }
        this.LJFF.setVisibility(0);
        this.LJI.setVisibility(0);
        this.LJFF.setOnClickListener(new BJY(this));
    }
}
