File tree Expand file tree Collapse file tree
app/src/main/java/org/schabi/newpipe/local Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33import android .content .Context ;
44import android .util .Log ;
5- import android .view .LayoutInflater ;
65import android .view .View ;
76import android .view .ViewGroup ;
87
@@ -84,7 +83,6 @@ public class LocalItemListAdapter extends RecyclerView.Adapter<RecyclerView.View
8483 private static final int REMOTE_PLAYLIST_CARD_HOLDER_TYPE = 0x3002 ;
8584 private static final int REMOTE_BOOKMARK_PLAYLIST_HOLDER_TYPE = 0x3003 ;
8685
87- private final LayoutInflater layoutInflater ;
8886 private final LocalItemBuilder localItemBuilder ;
8987 private final ArrayList <LocalItem > localItems ;
9088 private final HistoryRecordManager recordManager ;
@@ -100,7 +98,6 @@ public LocalItemListAdapter(final Context context) {
10098 recordManager = new HistoryRecordManager (context );
10199 localItemBuilder = new LocalItemBuilder (context );
102100 localItems = new ArrayList <>();
103- layoutInflater = LayoutInflater .from (context );
104101
105102 dateTimeFormatter = DateTimeFormatter .ofLocalizedDate (FormatStyle .SHORT )
106103 .withLocale (Localization .getPreferredLocale (context ));
You can’t perform that action at this time.
0 commit comments