Skip to content

Commit

Permalink
Fix/#19 Import error for List resolved (rilling#33)
Browse files Browse the repository at this point in the history
  • Loading branch information
aksharpatel17 authored Feb 16, 2024
1 parent 4c90de0 commit 24054a6
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@
import java.time.ZoneOffset;
import java.time.temporal.WeekFields;
import java.util.ArrayList;
import java.util.List;
import java.util.Locale;

import de.dennisguse.opentracks.R;
Expand All @@ -40,7 +41,7 @@ public static void showDialog(FragmentManager fragmentManager) {

public static void showDialog(FragmentManager fragmentManager, List<FilterItem> items) {
Bundle bundle = new Bundle();
bundle.putParcelableArrayList(KEY_FILTER_ITEMS, items);
bundle.putParcelableArrayList(KEY_FILTER_ITEMS,(ArrayList<? extends Parcelable>) items);

FilterDialogFragment filterDialogFragment = new FilterDialogFragment();
filterDialogFragment.setArguments(bundle);
Expand Down

0 comments on commit 24054a6

Please sign in to comment.