Remove unnecessary compat method calls.
This commit is contained in:
parent
212a413e93
commit
23c1fc3544
4 changed files with 8 additions and 11 deletions
|
|
@ -29,7 +29,6 @@ import androidx.appcompat.app.AlertDialog;
|
|||
import androidx.core.app.NotificationCompat;
|
||||
import androidx.core.content.ContextCompat;
|
||||
import androidx.core.content.FileProvider;
|
||||
import androidx.core.view.ViewCompat;
|
||||
import androidx.recyclerview.widget.DiffUtil;
|
||||
import androidx.recyclerview.widget.RecyclerView;
|
||||
import androidx.recyclerview.widget.RecyclerView.Adapter;
|
||||
|
|
@ -871,7 +870,7 @@ public class MissionAdapter extends Adapter<ViewHolder> implements Handler.Callb
|
|||
super(view);
|
||||
|
||||
progress = new ProgressDrawable();
|
||||
ViewCompat.setBackground(itemView.findViewById(R.id.item_bkg), progress);
|
||||
itemView.findViewById(R.id.item_bkg).setBackground(progress);
|
||||
|
||||
status = itemView.findViewById(R.id.item_status);
|
||||
name = itemView.findViewById(R.id.item_name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue