File tree Expand file tree Collapse file tree 1 file changed +12
-0
lines changed
MaterialDialogs/src/main/java/com/learnoset/materialdialogs Expand file tree Collapse file tree 1 file changed +12
-0
lines changed Original file line number Diff line number Diff line change @@ -131,18 +131,30 @@ public void setUpdateBtnClickListener(UpdateBtnClickListener updateBtnClickListe
131131
132132 public void addUpdateFeature (String newUpdateFeature ) {
133133 updateDetailsLists .add (newUpdateFeature );
134+ if (dialogShowing ) {
135+ refreshDialog ();
136+ }
134137 }
135138
136139 public void addUpdateFeatures (String [] newUpdateFeature ) {
137140 updateDetailsLists .addAll (Arrays .asList (newUpdateFeature ));
141+ if (dialogShowing ) {
142+ refreshDialog ();
143+ }
138144 }
139145
140146 public void addUpdateFeatures (List <String > updateDetailsLists ) {
141147 this .updateDetailsLists .addAll (updateDetailsLists );
148+ if (dialogShowing ) {
149+ refreshDialog ();
150+ }
142151 }
143152
144153 public void removeFeature (int position ) {
145154 updateDetailsLists .remove (position );
155+ if (dialogShowing ) {
156+ refreshDialog ();
157+ }
146158 }
147159
148160 @ Override
You can’t perform that action at this time.
0 commit comments