mobile-wallet
mobile-wallet copied to clipboard
fix : converted all inner class based alert dialog box to our global class based dialog box
Issue Fix
Fixes #660
Description
Changes made:
-
Converted all android inner class based alert dialog boxes to our own global class based dialog box.
-
Added
NeutralListener
inDialogBox.java
to provide functionality to addNeutralButton
in the DialogBox. -
Added a parameter for
View
inshow()
to provide an option to set a view in the dialog box or null can be passed. -
Overloaded
show()
methods inDialogBox.java
to facilitate different types of dialog boxes for eg: with or without a message and with or without a neutral button.
-
[x] Apply the
AndroidStyle.xml
style template to your code in Android Studio. -
[x] Run the unit tests with
./gradlew check
to make sure you didn't break anything -
[x] If you have multiple commits please combine them into one commit by squashing them.
@devansh-299 PTAL :)