File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
fastdialog/src/main/java/karpuzoglu/enes/com/fastdialog Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -45,10 +45,10 @@ Provides you easily create various pop-up dialogs that you can use.
45
45
46
46
> FastDialogBuilder Functions
47
47
``` java
48
- progressText(String progressString) // sets progress dialog text
48
+ progressText(String progressString) // set progress dialog text
49
49
setTitleText(String title) // set fast-dialog title
50
50
hideTitle() // hide title
51
- hideIcon() // hide to ImageView gif on fast-dialog
51
+ hideIcon() // hide to danger gif on fast-dialog
52
52
setText(String text) // set fast-dialog TextView
53
53
setHint(String hint) // set fast-dialog EditText's hint
54
54
negativeText(String negative) // set negative button on fast-dialog and set button text
Original file line number Diff line number Diff line change @@ -87,12 +87,12 @@ private FastDialogBuilder createDialog(Type type){
87
87
btCancel .setOnClickListener (v -> {
88
88
if (negativeClick != null )
89
89
negativeClick .onClick (v );
90
- dialog .dismiss ();
90
+ else dialog .dismiss ();
91
91
});
92
92
btOk .setOnClickListener (v -> {
93
93
if (positiveClick != null )
94
94
positiveClick .onClick (v );
95
- dialog .dismiss ();
95
+ else dialog .dismiss ();
96
96
});
97
97
btOk .setBackground (getShape ());
98
98
btCancel .setBackground (getShape ());
You can’t perform that action at this time.
0 commit comments