public interface

IInviteController

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

Class Overview

Interface for Invite Controllers

Summary

Public Methods
abstract boolean isInputValid()
Checks whether the input is valid
abstract void onButtonSubmitClick(View v)
Called when the submit button was pressed
abstract void onEditEmailChanged(TextView v, Editable text)
Called when the input of the email changed
abstract void onEditFirstnameChanged(TextView v, Editable text)
Called when the input of the first name changed
abstract void onEditLastnameChanged(TextView v, Editable text)
Called when the input of the last name changed
abstract void onEditMessageChanged(TextView v, Editable text)
Called when the input of the message changed
abstract void setData(SCInvitation invitation)
Sets invitation data for this controller
abstract void submit()
Submit the input data
[Expand]
Inherited Methods
From interface com.c2call.sdk.pub.gui.core.controller.IController

Public Methods

public abstract boolean isInputValid ()

Checks whether the input is valid

Returns
  • true, if input is valid

public abstract void onButtonSubmitClick (View v)

Called when the submit button was pressed

Parameters
v the clicked button

public abstract void onEditEmailChanged (TextView v, Editable text)

Called when the input of the email changed

Parameters
v the changed input view
text the new text

public abstract void onEditFirstnameChanged (TextView v, Editable text)

Called when the input of the first name changed

Parameters
v the changed input view
text the new text

public abstract void onEditLastnameChanged (TextView v, Editable text)

Called when the input of the last name changed

Parameters
v the changed input view
text the new text

public abstract void onEditMessageChanged (TextView v, Editable text)

Called when the input of the message changed

Parameters
v the changed input view
text the new text

public abstract void setData (SCInvitation invitation)

Sets invitation data for this controller

Parameters
invitation the data to be set

public abstract void submit ()

Submit the input data