My DialogFragment class is invoked when I press a button on a activity. I want the date set through this DialogFragment to be displayed on the buttons text. FindViewById re
In the method in your DialogFragment that is in charge of being notified when the user sets the date, do this
Button activityButton = (Button)getActivity().findViewById(R.id.myButton); activityButton.setText (myDate);