fix NPE
This commit is contained in:
parent
23f1ddac86
commit
293b206e00
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ public class MapMarkersGroupsAdapter extends RecyclerView.Adapter<RecyclerView.V
|
|||
GroupHeader header = group.getGroupHeader();
|
||||
items.add(header);
|
||||
if (!group.isDisabled()) {
|
||||
if (!group.getWptCategories().isEmpty()) {
|
||||
if (group.getWptCategories() != null && !group.getWptCategories().isEmpty()) {
|
||||
MapMarkersHelper.CategoriesSubHeader categoriesSubHeader = group.getCategoriesSubHeader();
|
||||
items.add(categoriesSubHeader);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue