reuse listView from AllEpisodesFragment
This commit is contained in:
parent
b721a5d35f
commit
b0b228303c
@ -62,7 +62,7 @@ public class AllEpisodesFragment extends Fragment {
|
||||
private static final String PREF_KEY_LIST_SELECTION = "list_selection";
|
||||
|
||||
private String prefName;
|
||||
private DragSortListView listView;
|
||||
protected DragSortListView listView;
|
||||
private NewEpisodesListAdapter listAdapter;
|
||||
private TextView txtvEmpty;
|
||||
private ProgressBar progLoading;
|
||||
|
@ -41,8 +41,6 @@ public class NewEpisodesFragment extends AllEpisodesFragment {
|
||||
View root = super.onCreateViewHelper(inflater, container, savedInstanceState,
|
||||
R.layout.new_episodes_fragment, R.string.new_episodes_label);
|
||||
|
||||
final DragSortListView listView = (DragSortListView) root.findViewById(android.R.id.list);
|
||||
|
||||
listView.setRemoveListener(new DragSortListView.RemoveListener() {
|
||||
@Override
|
||||
public void remove(int which) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user