Prevent unnecessary setTextColor
This commit is contained in:
parent
a575180475
commit
570ecd9987
@ -137,12 +137,6 @@ public class FlashActivity extends BaseActivity {
|
||||
super(console, true);
|
||||
}
|
||||
|
||||
@Override
|
||||
public void onBindViewHolder(@NonNull ViewHolder holder, int position) {
|
||||
super.onBindViewHolder(holder, position);
|
||||
holder.txt.setTextColor(white);
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int itemLayoutRes() {
|
||||
return R.layout.list_item_console;
|
||||
@ -158,6 +152,7 @@ public class FlashActivity extends BaseActivity {
|
||||
|
||||
public ViewHolder(@NonNull View itemView) {
|
||||
super(itemView);
|
||||
txt.setTextColor(white);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user