How to change the text of a running AlertDialog
问题 How do you change the current string of a text on a AlertDialog after you click a button that selects a date from a CalendarPickerFragment. This the AlertDialog public class FragmentInicio extends Fragment{ private static String date; public void addDate(){ View view = (LayoutInflater.from(getActivity())).inflate(R.layout.alert_dialog,null); AlertDialog.Builder alertDialog = new AlertDialog.Builder(getActivity()); alertDialog.setView(view); final TextView date_Text = view.findViewById(R.id