public class AddSourceActivity
extends AppCompatActivity
CardMultilineWidget and receive the resulting
Source in the #onActivityResult(int, int, Intent) of the launching activity.| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
EXTRA_NEW_SOURCE |
| Constructor and Description |
|---|
AddSourceActivity() |
| Modifier and Type | Method and Description |
|---|---|
static android.content.Intent |
newIntent(android.content.Context context,
boolean requirePostalField,
boolean updatesCustomer)
Create an
Intent to start a AddSourceActivity. |
protected void |
onActionSave() |
protected void |
onCreate(android.os.Bundle savedInstanceState) |
boolean |
onCreateOptionsMenu(android.view.Menu menu) |
boolean |
onOptionsItemSelected(android.view.MenuItem item) |
protected void |
onPause() |
boolean |
onPrepareOptionsMenu(android.view.Menu menu) |
protected void |
onResume() |
protected void |
setCommunicatingProgress(boolean communicating) |
public static final java.lang.String EXTRA_NEW_SOURCE
public static android.content.Intent newIntent(android.content.Context context,
boolean requirePostalField,
boolean updatesCustomer)
Intent to start a AddSourceActivity.context - the Context used to launch the activityrequirePostalField - true to require a postal code fieldupdatesCustomer - true if the activity should update using an
already-initialized CustomerSession, or false if it should just
return a source.Intent that can be used to start this activityprotected void onCreate(android.os.Bundle savedInstanceState)
protected void onActionSave()
protected void setCommunicatingProgress(boolean communicating)
protected void onPause()
protected void onResume()
public boolean onCreateOptionsMenu(android.view.Menu menu)
public boolean onOptionsItemSelected(android.view.MenuItem item)
public boolean onPrepareOptionsMenu(android.view.Menu menu)