public interface

IShareLocationController

implements IController<T extends IViewHolder>
com.c2call.sdk.pub.gui.sharelocation.controller.IShareLocationController
Known Indirect Subclasses

Class Overview

Interface for ShareLocation Controllers

Summary

Public Methods
abstract LocationAndPlaces getData()
Gets the location data to share.
abstract void onButtonSendClick(View v)
Called when the send Button was clicked
abstract void onListPlacesItemClick(AdapterView<?> parent, View view, int pos, long id)
Called when an item of the Places list was cliked
abstract void onLocationChanged(Location location)
Called when the location changed
abstract void setData(LocationAndPlaces data)
Sets thet location data to share
[Expand]
Inherited Methods
From interface com.c2call.sdk.pub.gui.core.controller.IController

Public Methods

public abstract LocationAndPlaces getData ()

Gets the location data to share.

Returns
  • location data to share

public abstract void onButtonSendClick (View v)

Called when the send Button was clicked

Parameters
v the clicked button

public abstract void onListPlacesItemClick (AdapterView<?> parent, View view, int pos, long id)

Called when an item of the Places list was cliked

Parameters
parent the adapter view of the item
view the clicked item view
pos the position of the item within the adapter
id the list id of thte item

public abstract void onLocationChanged (Location location)

Called when the location changed

Parameters
location the new location

public abstract void setData (LocationAndPlaces data)

Sets thet location data to share

Parameters
data the location data to share