Commit dbcc86ea authored by Sam's avatar Sam

This contains all of the application Data

parent 0b54b19d
......@@ -138,7 +138,7 @@ public class cafe_activity extends AppCompatActivity implements View.OnClickList
case R.id.next_btn:
Intent shop = new Intent(this, shop_activity.class);
//TODO PUT EXTRA
//if the itemData array is not null add the cafe items to the shop activity which will be passed down to the checkout and receipt
if (getItemData() != null) {
shop.putExtra("cafeItems", getItemData().get(0));
......@@ -166,7 +166,7 @@ public class cafe_activity extends AppCompatActivity implements View.OnClickList
itemNameCafe.add(cafeName);
itemPriceCafe.add(cafePrice);
//TODO PUT EXTRA IS FUNCTION DOES NOT WORK
}
}
if (itemNameCafe.size() > 0) {
......
......@@ -31,7 +31,7 @@ public class MainActivity extends AppCompatActivity implements View.OnClickListe
private String message;
private String URL = "https://ysjcs.net/~sam.markey/UNI/museum_php/login.php";
//TODO URL , EDIT TEXT GET TEXT AND PASS THEM TO LOGIN FUNC
@Override
protected void onCreate(Bundle savedInstanceState) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment