Exemplo n.º 1
0
        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;
        }
Exemplo n.º 2
0
        //Accepted Assignments Details Constructor
        public AcceptedAssignmentsDetails(Indigents itemSelectedData)
        {
            InitializeComponent();
            //Binding item Selected Details to View

            BindingContext = itemSelectedData;
        }
Exemplo n.º 3
0
        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];
            }
        }
Exemplo n.º 4
0
 public LivingConditions(Indigents indigentDetails)
 {
     InitializeComponent();
     BindingContext = indigentDetails;
 }