public class

SCAddFriendController

extends SCBaseController<T extends IViewHolder>
implements IAddFriendController
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.addfriend.controller.SCAddFriendController

Summary

Public Constructors
SCAddFriendController(View view, SCViewDescription viewDescription)
Public Methods
void onButtonSubmitClick(View v)
Called when the submit button was clicked.
boolean onEditFriendAction(TextView v, int actionId, KeyEvent event)
Called on keyboard action (e.g enter pressed"
void onEditFriendChanged(View v, Editable s)
Called when the edit text changed
Protected Methods
void onBindViewHolder(IAddFriendViewHolder vh)
IAddFriendViewHolder onCreateViewHolder(View v, SCViewDescription vd)
void onSubmit(String friend)
void onValidate()
[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.addfriend.controller.IAddFriendController
From interface com.c2call.sdk.pub.gui.core.common.IActivityResultListener
From interface com.c2call.sdk.pub.gui.core.controller.IController

Public Constructors

public SCAddFriendController (View view, SCViewDescription viewDescription)

Public Methods

public void onButtonSubmitClick (View v)

Called when the submit button was clicked.

Parameters
v the button that was clicked

public boolean onEditFriendAction (TextView v, int actionId, KeyEvent event)

Called on keyboard action (e.g enter pressed"

Parameters
v the view
actionId the action id
event the key event
Returns
  • true if the action was consumed.

public void onEditFriendChanged (View v, Editable s)

Called when the edit text changed

Parameters
v the EditText view that changed.
s the new text

Protected Methods

protected void onBindViewHolder (IAddFriendViewHolder vh)

protected IAddFriendViewHolder onCreateViewHolder (View v, SCViewDescription vd)

protected void onSubmit (String friend)

protected void onValidate ()