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
NeutralListenerinDialogBox.javato provide functionality to addNeutralButtonin the DialogBox. -
Added a parameter for
Viewinshow()to provide an option to set a view in the dialog box or null can be passed. -
Overloaded
show()methods inDialogBox.javato facilitate different types of dialog boxes for eg: with or without a message and with or without a neutral button.
-
[x] Apply the
AndroidStyle.xmlstyle template to your code in Android Studio. -
[x] Run the unit tests with
./gradlew checkto 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 :)