Question: JAVA Android studio coding: First, write another dialog fragment named TimePickerFragment that allows the user to select what time of day the crime occurred using
JAVA Android studio coding:
First, write another dialog fragment named TimePickerFragment that allows the user to select what time of day the crime occurred using a TimePicker widget. Add another button to CrimeFragment to display a TimePickerFragment.
Second, add a new action item to the CrimeFragment that allows the user to delete the current crime. Once the user presses the new delete action item, be sure to pop the user back to the previous activity with a call to the finish() method of the CrimeFragment's hosting activity.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
