package o; import android.content.Context; import android.graphics.Rect; import android.util.TypedValue; import android.view.View; import androidx.recyclerview.widget.RecyclerView; /* loaded from: classes5.dex */ public final class eCG extends RecyclerView.ZqN { private final int e; public eCG(Context context, int i) { this.e = (int) TypedValue.applyDimension(1, i, context.getResources().getDisplayMetrics()); } @Override // androidx.recyclerview.widget.RecyclerView.ZqN public final void apG_(Rect rect, View view, RecyclerView recyclerView, RecyclerView.AcL acL) { if (RecyclerView.d(view) != recyclerView.g.getItemCount() - 1) { rect.bottom = this.e; } } }