public interface

ICustomStatusController

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

Class Overview

Interface for CustomStatus controllers

Summary

Public Methods
abstract void onButtonClearClicked(View v)
Called when the ClearButton was clicked
abstract void onButtonRequestStatusClicked(View v)
Called when the RequestStatusButton was clicked
abstract void onPredefinedSelected(String status)
Called when an item of list of predefined statuses was selected
abstract void onStatusChanged(String status)
Called when the status was changed;
abstract boolean onSubmitStatus(String status)
Called when the new status should be saved on the server.
abstract void submit(String status)
Submit the given status to the server
[Expand]
Inherited Methods
From interface com.c2call.sdk.pub.gui.core.controller.IController

Public Methods

public abstract void onButtonClearClicked (View v)

Called when the ClearButton was clicked

Parameters
v the button view

public abstract void onButtonRequestStatusClicked (View v)

Called when the RequestStatusButton was clicked

Parameters
v the button view

public abstract void onPredefinedSelected (String status)

Called when an item of list of predefined statuses was selected

Parameters
status the selected status

public abstract void onStatusChanged (String status)

Called when the status was changed;

Parameters
status the new status

public abstract boolean onSubmitStatus (String status)

Called when the new status should be saved on the server. This method is called during #submit

Parameters
status the status to save
Returns
  • true when the status was successfully saved, false otherwise.

public abstract void submit (String status)

Submit the given status to the server

Parameters
status the new status