From 01fd9f57cfb9a4b9bf9fd94c8d6721f310cacf82 Mon Sep 17 00:00:00 2001 From: Michael Obi <58430556+michael-paystack@users.noreply.github.com> Date: Fri, 24 Feb 2023 13:11:04 +0100 Subject: [PATCH 1/2] Add `showLoading()` to `TransactionCallback` docs --- README.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/README.md b/README.md index 1d71e1f..63f153e 100644 --- a/README.md +++ b/README.md @@ -214,6 +214,12 @@ public class MainActivity extends AppCompatActivity { // Save reference so you may send to server. If // error occurs with OTP, you should still verify on server. } + + @Override + public void showLoading(Boolean isProcessing) { + // This is called only before any network requests the SDK makes. + // Use this to display loading indicators in your application UI + } @Override public void onError(Throwable error, Transaction transaction) { From 090bf1df9c05ff5a2ce83f3f2d4f1486cd57cf0e Mon Sep 17 00:00:00 2001 From: Michael Obi <58430556+michael-paystack@users.noreply.github.com> Date: Wed, 1 Mar 2023 17:02:44 +0100 Subject: [PATCH 2/2] Update README.md Co-authored-by: nathan-paystack <82086670+nathanstasin@users.noreply.github.com> --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 63f153e..74594be 100644 --- a/README.md +++ b/README.md @@ -217,7 +217,7 @@ public class MainActivity extends AppCompatActivity { @Override public void showLoading(Boolean isProcessing) { - // This is called only before any network requests the SDK makes. + // This is called whenever the SDK makes network requests. // Use this to display loading indicators in your application UI }