Пример #1
0
        private void ShowJobContextDialog(ReportJobHeaderRecord job)
        {
            var dialog = new ListDialogBuilder(Activity);

            dialog.SetTitle(Resource.String.report_job_details);
            dialog.AddItem(Resource.String.report_delete_sessions, () => {
                RequestDeleteSessions(job.sessions);
            });
            dialog.AddItem(Resource.String.report_check_all, () => {
                adapter.SetCheckStatus(job.sessions, true);
            });
            dialog.AddItem(Resource.String.report_uncheck_all, () => {
                adapter.SetCheckStatus(job.sessions, false);
            });
            dialog.Show();
        }
Пример #2
0
 public void OnJobClicked(ReportJobHeaderRecord record)
 {
     ShowJobContextDialog(record);
 }