diff --git a/.idea/vcs.xml b/.idea/vcs.xml new file mode 100644 index 0000000..94a25f7 --- /dev/null +++ b/.idea/vcs.xml @@ -0,0 +1,6 @@ + + + + + + \ No newline at end of file diff --git a/searchablespinnerlibrary/src/main/java/com/kenmeidearu/searchablespinnerlibrary/SearchableListDialog.java b/searchablespinnerlibrary/src/main/java/com/kenmeidearu/searchablespinnerlibrary/SearchableListDialog.java index 0e12e49..664abf9 100644 --- a/searchablespinnerlibrary/src/main/java/com/kenmeidearu/searchablespinnerlibrary/SearchableListDialog.java +++ b/searchablespinnerlibrary/src/main/java/com/kenmeidearu/searchablespinnerlibrary/SearchableListDialog.java @@ -60,7 +60,7 @@ public static SearchableListDialog newInstance(ArrayList itemlist,i _strTitle=listTitle; Bundle args = new Bundle(); - args.putSerializable(ITEMSLIST, (Serializable) itemlist); + args.putSerializable(ITEMSLIST, itemlist); multiSelectExpandableFragment.setArguments(args); return multiSelectExpandableFragment; @@ -72,7 +72,7 @@ public static SearchableListDialog newInstance(ArrayList items) { SearchableListDialog(); Bundle args = new Bundle(); - args.putSerializable(ITEMSLIST, (Serializable) items); + args.putSerializable(ITEMSLIST, items); multiSelectExpandableFragment.setArguments(args);