protected override async void OnAppearing() { base.OnAppearing(); assignment indigentApplicationDetails = new assignment(); Indigents indigent = new Indigents(); // Reset the 'resume' id, since we just want to re-start here ((App)App.Current).ResumeAtTodoId = -1; var myList = await App.Database.GetItemsNotDoneAsync("Accepted"); ArrayList accepted1 = new ArrayList(); for (int i = 0; i < myList.Count; i++) { //accepted1.Add(myList[i].applicantDetails); accepted1.Add(Newtonsoft.Json.JsonConvert.DeserializeObject <Indigents>(myList[i].applicantDetails)); Console.WriteLine(accepted1); Console.WriteLine("Hello"); } Console.WriteLine(accepted1); listView.ItemsSource = accepted1; }
//Accepted Assignments Details Constructor public AcceptedAssignmentsDetails(Indigents itemSelectedData) { InitializeComponent(); //Binding item Selected Details to View BindingContext = itemSelectedData; }
public HouseHoldDetails(Indigents indigentDetails) { InitializeComponent(); var myList = indigentDetails.indigentApplicationDetails.householdDetail; //ArrayList accepted1 = new ArrayList(); for (int i = 0; i < myList.Count; i++) { BindingContext = indigentDetails.indigentApplicationDetails.householdDetail[i]; } }
public LivingConditions(Indigents indigentDetails) { InitializeComponent(); BindingContext = indigentDetails; }