I made a dialog with builder.setSingleChoiceItem with array of items that a user can choose from. But when a user adds something to that array, the list in that dialog is not updated, showing the previous list.
I read that you need to recreate the dialog in order to achieve this goal. How do you recreate it? How do you destroy the dialog and recreate its content all over again? so that you can refresh the list?
Thanks a lot for your answer in advance.