public class

SCVerifyNumberController

extends SCBaseController<T extends IViewHolder>
implements IVerifyNumberController
java.lang.Object
   ↳ com.c2call.sdk.pub.gui.core.controller.SCBaseController<T extends com.c2call.sdk.pub.gui.core.controller.IViewHolder>
     ↳ com.c2call.sdk.pub.gui.verifynumber.controller.SCVerifyNumberController

Summary

Public Constructors
SCVerifyNumberController(View view, SCViewDescription viewDescription)
Public Methods
SCPhoneNumberInputHandler getPhoneNumberInputHandler()
void onButtonCancelClick(View v)
Called when the cancel Button was clicked.
void onButtonSubmitClick(View v)
Called when the submit Button was clicked.
void onCreate(Activity context, SCActivityResultDispatcher resultDispatcher)
This should be called when your Activity is created.
void onEditNumberFocusChanged(View v, boolean hasFocus)
Called when the focus of the number field changed
void onEditPinCodeFocusChanged(View v, boolean hasFocus)
Called when the focus of the pin code field changed
void onEditPinCodeTextChanged(CharSequence s, int start, int before, int count)
Called when the input for thet pin code changed
void onShowPinCodeInput(boolean show)
Shows the pin code input
void setNumber(String number)
Sets a number.
void setNumberOfSMS(String number)
Sets the verification number of the SMS that will be send
Protected Methods
String getXCallerId()
void onBindViewHolder(IVerifyNumberViewHolder vh)
IVerifyNumberViewHolder onCreateViewHolder(View v, SCViewDescription vd)
void onNumberVerified(String number)
void resetCodeInput()
[Expand]
Inherited Methods
From class com.c2call.sdk.pub.gui.core.controller.SCBaseController
From class java.lang.Object
From interface android.view.View.OnAttachStateChangeListener
From interface com.c2call.sdk.pub.gui.core.common.IActivityResultListener
From interface com.c2call.sdk.pub.gui.core.controller.IController
From interface com.c2call.sdk.pub.gui.verifynumber.controller.IVerifyNumberController

Public Constructors

public SCVerifyNumberController (View view, SCViewDescription viewDescription)

Public Methods

public SCPhoneNumberInputHandler getPhoneNumberInputHandler ()

public void onButtonCancelClick (View v)

Called when the cancel Button was clicked.

Parameters
v the clicked Button

public void onButtonSubmitClick (View v)

Called when the submit Button was clicked.

Parameters
v the clicked Button

public void onCreate (Activity context, SCActivityResultDispatcher resultDispatcher)

This should be called when your Activity is created. Typically in onCreate(...) of the surrounding Activiy.

Parameters
context the surrounding activity
resultDispatcher a result dispatcher that is used by the controller

public void onEditNumberFocusChanged (View v, boolean hasFocus)

Called when the focus of the number field changed

Parameters
v the view whose focus changed
hasFocus the new focus

public void onEditPinCodeFocusChanged (View v, boolean hasFocus)

Called when the focus of the pin code field changed

Parameters
v the view whose focus changed
hasFocus the new focus

public void onEditPinCodeTextChanged (CharSequence s, int start, int before, int count)

Called when the input for thet pin code changed

Parameters
s the new text

public void onShowPinCodeInput (boolean show)

Shows the pin code input

Parameters
show whether to show or hide the view

public void setNumber (String number)

Sets a number.

Parameters
number the number to set

public void setNumberOfSMS (String number)

Sets the verification number of the SMS that will be send

Protected Methods

protected String getXCallerId ()

protected void onBindViewHolder (IVerifyNumberViewHolder vh)

protected IVerifyNumberViewHolder onCreateViewHolder (View v, SCViewDescription vd)

protected void onNumberVerified (String number)

protected void resetCodeInput ()