Hello I am new to Xamarin.Forms and working on a time clock project. I am trying to achieve something like this:
Let say there is a report page and a modal page.
Report page is to show a list of time sheet during a working period in listview.
Modal page is to filter the date range of the working period.
The user clicks a button on the report page to open modal page.
On the modal page, when a user chooses to 'apply' a data range, modal page closes, and the report page shows the new list of timesheet of that data range.
Since the report page is getting certain date range of timesheet data from database, should I first pass the date range (selected from picker/date picker) to the parent page, and then make a new http request to retrieve the new data? How to pass the date data though (I am thinking using messaging center).
Or any better solution to'changing the date range and automatically update the parent list'?