public interface MapOverlay2 extends MapOverlay
Modifier and Type | Method and Description |
---|---|
HierarchyListItem |
getListModel(android.widget.BaseAdapter adapter,
long capabilities,
HierarchyListFilter preferredFilter)
Returns the model that may be used to build a UI to interact with the overlay.
|
getIdentifier, getListModel, getName, getQueryFunction, getRootGroup
HierarchyListItem getListModel(android.widget.BaseAdapter adapter, long capabilities, HierarchyListFilter preferredFilter)
null
, the overlay
will not appear in the list.adapter
- 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.preferredFilter
- 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.