public class CurrentOrderActivity
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private <any> |
adapter |
private CurrentOrderActivity |
current |
private Order |
currentOrder |
private int |
currSelectionIndex |
private static int |
INVALID_INDEX |
private ListView |
pizzaList |
Modifier and Type | Method and Description |
---|---|
private void |
buttonSetup()
This method prepares the various buttons.
|
void |
changePrices()
This method updates the price information on the current order.
|
private void |
clearOrderButtonSetup()
This method prepares the cancel order button.
|
protected void |
onCreate(Bundle savedInstanceState)
This method contains the necessary setup when this activity is created.
|
void |
onItemClick(<any> parent,
View view,
int position,
long id)
This method keeps track of the last selected item in the order.
|
private void |
placeOrderButtonSetup()
This method prepares the place order button.
|
private void |
removeButtonSetup()
This method prepares the remove button.
|
private <any> adapter
private CurrentOrderActivity current
private Order currentOrder
private int currSelectionIndex
private static final int INVALID_INDEX
private ListView pizzaList
private void buttonSetup()
public void changePrices()
private void clearOrderButtonSetup()
protected void onCreate(Bundle savedInstanceState)
savedInstanceState
- the saved state.public void onItemClick(<any> parent, View view, int position, long id)
parent
- the AdapterView for the items.view
- the current view.position
- the position of the element.id
- the id of the item.private void placeOrderButtonSetup()
private void removeButtonSetup()