public class IconsMapAdapter
extends android.content.BroadcastReceiver
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ADD_ICONSET |
static java.io.FilenameFilter |
IconFilenameFilter |
static java.lang.String |
ICONSET_ADDED |
static java.lang.String |
ICONSET_REMOVED |
static java.lang.String |
REMOVE_ICONSET |
Constructor and Description |
---|
IconsMapAdapter(android.content.Context context) |
Modifier and Type | Method and Description |
---|---|
void |
adaptMarkerIcon(Marker marker)
Adapt marker based on user settings and/or 2525C type, in the following order:
If the marker is the self marker or if annotated with "adapt_marker_icon" with the value
false, then the whole process is skipped.
|
void |
dispose() |
static UserIconDatabase |
initializeUserIconDB(android.content.Context context,
android.content.SharedPreferences prefs)
Keeping the initialization code in here, but will be called by the
so it can store a reference to keep from getting garbage collected.
|
void |
onReceive(android.content.Context context,
android.content.Intent intent) |
abortBroadcast, clearAbortBroadcast, getAbortBroadcast, getDebugUnregister, getResultCode, getResultData, getResultExtras, goAsync, isInitialStickyBroadcast, isOrderedBroadcast, peekService, setDebugUnregister, setOrderedHint, setResult, setResultCode, setResultData, setResultExtras
public static final java.lang.String ADD_ICONSET
public static final java.lang.String REMOVE_ICONSET
public static final java.lang.String ICONSET_ADDED
public static final java.lang.String ICONSET_REMOVED
public static final java.io.FilenameFilter IconFilenameFilter
public static UserIconDatabase initializeUserIconDB(android.content.Context context, android.content.SharedPreferences prefs)
public void adaptMarkerIcon(Marker marker)
marker
- the marker to be adaptedpublic void onReceive(android.content.Context context, android.content.Intent intent)
onReceive
in class android.content.BroadcastReceiver
public void dispose()