public class NonExportableMapGroupOverlay extends DefaultMapGroupOverlay
currentList, filter, HAS_DESCENDANT_ITEMS, iconUri, identifier, mapView, name, rootGroup, TAG
Modifier | Constructor and Description |
---|---|
|
NonExportableMapGroupOverlay(MapView mapView,
MapGroup group) |
|
NonExportableMapGroupOverlay(MapView mapView,
MapGroup group,
MapGroup.MapItemsCallback filter) |
protected |
NonExportableMapGroupOverlay(MapView mapView,
java.lang.String id,
MapGroup group,
java.lang.String iconUri,
MapGroup.MapItemsCallback filter) |
Modifier and Type | Method and Description |
---|---|
HierarchyListItem |
getListModel(android.widget.BaseAdapter callback,
long actions,
HierarchyListFilter filter)
Returns the model that may be used to build a UI to interact with the overlay.
|
getIdentifier, getName, getQueryFunction, getRootGroup
getListModel
public NonExportableMapGroupOverlay(MapView mapView, MapGroup group, MapGroup.MapItemsCallback filter)
protected NonExportableMapGroupOverlay(MapView mapView, java.lang.String id, MapGroup group, java.lang.String iconUri, MapGroup.MapItemsCallback filter)
public HierarchyListItem getListModel(android.widget.BaseAdapter callback, long actions, HierarchyListFilter filter)
MapOverlay2
null
, the overlay
will not appear in the list.getListModel
in interface MapOverlay2
getListModel
in class DefaultMapGroupOverlay
callback
- A reference to the adapter that will be responsible for displaying the list.
The overlay may invoke BaseAdapter.notifyDataSetChanged()
if the list content is externally modified and the adapter should update.filter
- The preferred filter to be used when constructing the list view.
This argument is a hint and may be ignored in the event that executing the
specified filter will compromise performance. A filter with an ascending alphabetic sort is
recommended as the default.null
if the
overlay should not be included in the list.