mirror of
https://github.com/M66B/NetGuard.git
synced 2025-01-30 19:31:26 +00:00
Let Glide auto clear
This commit is contained in:
parent
adf92fb7bb
commit
354ce6c605
1 changed files with 2 additions and 2 deletions
|
@ -837,8 +837,8 @@ public class AdapterRule extends RecyclerView.Adapter<AdapterRule.ViewHolder> im
|
||||||
public void onViewRecycled(ViewHolder holder) {
|
public void onViewRecycled(ViewHolder holder) {
|
||||||
super.onViewRecycled(holder);
|
super.onViewRecycled(holder);
|
||||||
|
|
||||||
Context context = holder.itemView.getContext();
|
//Context context = holder.itemView.getContext();
|
||||||
GlideApp.with(context).clear(holder.ivIcon);
|
//GlideApp.with(context).clear(holder.ivIcon);
|
||||||
|
|
||||||
CursorAdapter adapter = (CursorAdapter) holder.lvAccess.getAdapter();
|
CursorAdapter adapter = (CursorAdapter) holder.lvAccess.getAdapter();
|
||||||
if (adapter != null) {
|
if (adapter != null) {
|
||||||
|
|
Loading…
Reference in a new issue