public AddressLookupTableSource(UITableViewController lookupController, List<Prediction> data, string cellId,OnAddressSelected onAddressSelected)
 {
     this.CellId = cellId;
     this.controller = lookupController;
     this.data = data;
     this.OnAddressSelected = onAddressSelected;
 }
        public DeliveryAddressListPage()
        {
            InitializeComponent();

            SelectedAddressCommand = new Command <DbAddress>(async(DbAddress address) =>
            {
                OnAddressSelected?.Invoke(address);
                await Navigation.PopModalAsync();
            });

            DeleteAddressCommand = new Command <DbAddress>(async(DbAddress address) =>
            {
                await App.Database.DeleteAddressAsync(address);
                await RefreshPageAsync();
            });
        }