package s8;

import android.text.SpannableString;
import android.view.LayoutInflater;
import android.view.ViewGroup;
import ca.canadapost.core.data.addresscomplete.webservice.AddressCompleteFindItem;
import u7.c0;

/* loaded from: classes.dex */
public final class m implements u8.a {
    @Override // u8.a
    public androidx.databinding.n a(ViewGroup viewGroup, int i10) {
        return androidx.databinding.f.h(LayoutInflater.from(viewGroup != null ? viewGroup.getContext() : null), h7.j.E, viewGroup, false);
    }

    @Override // u8.a
    public void b(androidx.databinding.n binding, Object item) {
        kotlin.jvm.internal.t.g(binding, "binding");
        kotlin.jvm.internal.t.g(item, "item");
        ((c0) binding).U((AddressCompleteFindItem) item);
    }

    @Override // u8.a
    public void c(androidx.databinding.n binding, SpannableString spannableString) {
        kotlin.jvm.internal.t.g(binding, "binding");
        kotlin.jvm.internal.t.g(spannableString, "spannableString");
        ((c0) binding).B.setText(spannableString);
    }
}
