what-the-bank/sources/o/fHN.java

38 lines
1.2 KiB
Java
Raw Normal View History

2024-07-27 18:17:47 +07:00
package o;
import android.content.Context;
import android.text.TextUtils;
import androidx.recyclerview.widget.LinearLayoutManager;
import androidx.recyclerview.widget.RecyclerView;
import com.scb.phone.view.adapter.chubb.PaymentInfoAdapter;
import java.util.Iterator;
import java.util.List;
/* loaded from: classes5.dex */
public interface fHN {
default void s() {
}
default void e(Context context, RecyclerView recyclerView, List<XL> list, fHN fhn, boolean z) {
PaymentInfoAdapter paymentInfoAdapter = new PaymentInfoAdapter(context, fhn, z);
paymentInfoAdapter.d = list;
paymentInfoAdapter.notifyDataSetChanged();
recyclerView.setLayoutManager(new LinearLayoutManager());
recyclerView.setAdapter(paymentInfoAdapter);
recyclerView.setNestedScrollingEnabled(false);
recyclerView.setVisibility(0);
}
default boolean b(List<XL> list) {
if (list != null) {
Iterator<XL> it = list.iterator();
while (it.hasNext()) {
if (!TextUtils.isEmpty(it.next().i)) {
return true;
}
}
}
return false;
}
}