From c96a40f0df8486653ad6e450ce64d118d227f5f0 Mon Sep 17 00:00:00 2001 From: NMerz Date: Mon, 5 Oct 2020 22:30:12 -0400 Subject: [PATCH] Disable examples Examples should be disabled by default --- .../app/src/main/java/com/example/listify/MainActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Listify/app/src/main/java/com/example/listify/MainActivity.java b/Listify/app/src/main/java/com/example/listify/MainActivity.java index a9f18e6..5590ccd 100644 --- a/Listify/app/src/main/java/com/example/listify/MainActivity.java +++ b/Listify/app/src/main/java/com/example/listify/MainActivity.java @@ -55,12 +55,13 @@ public class MainActivity extends AppCompatActivity { } } } - + //NOTE: deleteUser is slightly unusual in that it requires a Requestor. See below for building one + //authManager.deleteUser(requestor); //------------------------------------------------------------------------------------------// - boolean testAPI = true; + boolean testAPI = false; //----------------------------------API Testing---------------------------------------------// if (testAPI) { @@ -79,7 +80,6 @@ public class MainActivity extends AppCompatActivity { Requestor requestor = new Requestor(authManager, configs.getProperty("apiKey")); - //authManager.deleteUser(requestor); //The name is the only part of this that is used, the rest is generated by the Lambda. List testList = new List(-1, "New List", "user filled by lambda", Instant.now().toEpochMilli());