Skip to content

Commit 1620c62

Browse files
Add showLoading() to TransactionCallback docs (#155)
* Add `showLoading()` to `TransactionCallback` docs * Update README.md Co-authored-by: nathan-paystack <[email protected]> --------- Co-authored-by: nathan-paystack <[email protected]>
1 parent 68a4a84 commit 1620c62

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,12 @@ public class MainActivity extends AppCompatActivity {
214214
// Save reference so you may send to server. If
215215
// error occurs with OTP, you should still verify on server.
216216
}
217+
218+
@Override
219+
public void showLoading(Boolean isProcessing) {
220+
// This is called whenever the SDK makes network requests.
221+
// Use this to display loading indicators in your application UI
222+
}
217223

218224
@Override
219225
public void onError(Throwable error, Transaction transaction) {

0 commit comments

Comments
 (0)