|
|
@@ -28,10 +28,7 @@ public abstract class GoodClassifyAdapter extends BaseAdapter<BPA_GOODS_CLASSIFY |
|
|
|
@SuppressLint("SetTextI18n") |
|
|
|
@Override |
|
|
|
public void onBindViewHolder(@NonNull ViewHolder holder, @SuppressLint("RecyclerView") int position) { |
|
|
|
if(DisplayManager.shouldScale(holder.binding.name)){ |
|
|
|
DisplayManager.scaleViewGroup(holder.binding.getRoot()); |
|
|
|
} |
|
|
|
if(holder.binding.name.getTextSize()>34||holder.binding.name.getTextSize()<30){ |
|
|
|
if(holder.binding.name.getTextSize()> 34 || holder.binding.name.getTextSize()< 30){ |
|
|
|
DisplayManager.scaleViewGroup(holder.binding.getRoot()); |
|
|
|
} |
|
|
|
holder.binding.name.setText(mData.get(position).name+""); |
|
|
|