public class ContactLocationView extends ContactDetailView
Modifier and Type | Class and Description |
---|---|
static interface |
ContactLocationView.ExtendedSelfInfoFactory |
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
TAG |
_contact, _mapView, _marker, _parent
Constructor and Description |
---|
ContactLocationView() |
Modifier and Type | Method and Description |
---|---|
protected void |
cleanup() |
void |
init(MapView mapView,
android.content.SharedPreferences prefs,
ContactDetailDropdown parent) |
android.view.View |
onCreateView(android.view.LayoutInflater inflater,
android.view.ViewGroup container,
android.os.Bundle savedInstanceState) |
void |
onResume() |
protected void |
refresh() |
static void |
register(ContactLocationView.ExtendedSelfInfoFactory eiv)
Ability to show other information not already shown as part of the
ContactLocationView.
|
static void |
unregister(ContactLocationView.ExtendedSelfInfoFactory eiv)
Unregister a previously registered ExtendedSelfInfoFactory.
|
void |
updateDeviceLocation(PointMapItem device) |
getMarker, refresh, updateVisual
public static final java.lang.String TAG
public android.view.View onCreateView(android.view.LayoutInflater inflater, android.view.ViewGroup container, android.os.Bundle savedInstanceState)
public static void register(ContactLocationView.ExtendedSelfInfoFactory eiv)
eiv
- the EntendedSelfInfoFactory that creates a new view each
time it is requested.public static void unregister(ContactLocationView.ExtendedSelfInfoFactory eiv)
public void init(MapView mapView, android.content.SharedPreferences prefs, ContactDetailDropdown parent)
init
in class ContactDetailView
public void onResume()
protected void refresh()
refresh
in class ContactDetailView
protected void cleanup()
cleanup
in class ContactDetailView
public void updateDeviceLocation(PointMapItem device)