Retrieve and set data from DialogFragment (DatePicker)

前端 未结 4 684
闹比i
闹比i 2020-12-18 12:44

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

4条回答
  •  暖寄归人
    2020-12-18 13:18

    A Fragment is not a View. If you want to find a fragment, use findFragmentById from the FragmentManager.

提交回复
热议问题