refactor listener
This commit is contained in:
parent
a2a4eb2bcc
commit
d1b7361d76
1 changed files with 1 additions and 1 deletions
|
@ -254,7 +254,7 @@ public class QuickSearchSubCategoriesFragment extends BaseOsmAndDialogFragment {
|
||||||
list.add(poiType.getKeyName());
|
list.add(poiType.getKeyName());
|
||||||
}
|
}
|
||||||
Fragment fragment = getTargetFragment();
|
Fragment fragment = getTargetFragment();
|
||||||
if (fragment instanceof QuickSearchCustomPoiFragment) {
|
if (fragment instanceof OnFiltersSelectedListener) {
|
||||||
((QuickSearchCustomPoiFragment) fragment).onFiltersSelected(poiCategory, list);
|
((QuickSearchCustomPoiFragment) fragment).onFiltersSelected(poiCategory, list);
|
||||||
}
|
}
|
||||||
dismiss();
|
dismiss();
|
||||||
|
|
Loading…
Reference in a new issue