package se;

import android.view.ViewGroup;
import ie.j1;
import kotlinx.coroutines.flow.h;
import xyz.stream.view.SingleTypeAdapter;

/* JADX INFO: loaded from: classes3.dex */
public final class f extends SingleTypeAdapter {
    @Override // xyz.stream.view.SingleTypeAdapter
    public final v3.a createBinding(ViewGroup viewGroup) {
        return j1.inflate(this.context.getLayoutInflater(), viewGroup, false);
    }

    @Override // xyz.stream.view.SingleTypeAdapter
    public final void onBindData(v3.a aVar, Object obj, int i10) {
        j1 j1Var = (j1) aVar;
        j1Var.f27064b.setText(h.k((String) obj, "yyyy-MM-dd'T'HH:mm:ss", "HH:mm"));
        j1Var.f27065c.setVisibility(i10 != 0 ? 0 : 8);
    }
}
