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.dialpad.controller.SCDialpadController |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
SCDialpadController(View view, SCViewDescription viewDescription) |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String |
getE164Number()
Gets the e164 converted number.
| ||||||||||
SCPhoneNumberInputHandler | getPhoneNumberInputHandler() | ||||||||||
String |
getRawNumber()
Gets the raw number.
| ||||||||||
void |
onActivityResult(int requestCode, int resultCode, Intent intent)
See onActivityResult() for further details
| ||||||||||
void |
onAddSignClick(View v)
On add sign click.
| ||||||||||
void |
onBrowseAreas(View v)
On browse areas.
| ||||||||||
void |
onCallClick(View v)
On call click.
| ||||||||||
void |
onCreate(Activity context, SCActivityResultDispatcher resultDispatcher)
This should be called when your Activity is created.
| ||||||||||
void |
onDeleteClick(View v)
On delete click.
| ||||||||||
void |
onDeleteLongClick(View v)
On delete long click.
| ||||||||||
synchronized void |
onDestroy()
Notifies the controller that tha surrounding activity will be destroyed.
| ||||||||||
void |
onExtraButton1Click(View v)
On extra button1 click.
| ||||||||||
void |
onExtraButton2Click(View v)
On extra button2 click.
| ||||||||||
void |
onNumberChanged(Editable s)
On number changed.
| ||||||||||
void |
onNumberClick(View v, int number)
On number click.
| ||||||||||
void |
onNumberInfoClick(View v)
On number info click.
| ||||||||||
void |
onSmsClick(View v)
On sms click.
| ||||||||||
boolean |
pickNumber()
Picks a number from the local addressbook
| ||||||||||
void |
setNumber(String number)
Sets the number.
|
Protected Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
boolean | isAddSignValid() | ||||||||||
void | onAssistDismiss() | ||||||||||
void | onBindItemButtonAddSign(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemButtonAssist(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemButtonBrowseAreas(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemButtonContacts(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemButtonDelete(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemButtonNumbers(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemButtonSMS(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemEditNumber(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemTextCredits(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemTextNumberInfo(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindItemTextPriceInfo(IDialpadViewHolder viewHolder) | ||||||||||
void | onBindViewHolder(IDialpadViewHolder viewHolder) | ||||||||||
SCPhoneNumberInputHandler | onCreatePhoneNumberInputHandler(IDialpadViewHolder viewHolder) | ||||||||||
IDialpadViewHolder | onCreateViewHolder(View v, SCViewDescription vd) | ||||||||||
void | onPriceInfoChanged(String priceString) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Gets the e164 converted number.
Gets the raw number.
See onActivityResult() for further details
On add sign click.
v | the Button that was clicked |
---|
On browse areas.
v | the Button that was clicked |
---|
On call click.
v | the Button that was clicked |
---|
This should be called when your Activity is created. Typically in onCreate(...) of the surrounding Activiy.
context | the surrounding activity |
---|---|
resultDispatcher | a result dispatcher that is used by the controller |
On delete click.
v | the Button that was clicked |
---|
On delete long click.
v | the Button that was clicked |
---|
Notifies the controller that tha surrounding activity will be destroyed.
On extra button1 click.
v | the Button that was clicked |
---|
On extra button2 click.
v | the Button that was clicked |
---|
On number changed.
s | the s |
---|
On number click.
v | the Button that was clicked |
---|---|
number | the number |
On number info click.
v | the Button that was clicked |
---|
On sms click.
v | the Button that was clicked |
---|
Picks a number from the local addressbook
Sets the number.
number | the new number |
---|