public PersonViewModel() { personData = DependencyService.Get <IPersonData>(); OnPersonDataBind = async() => { PersonList = new ObservableCollection <PersonModel>((await personData.GetPersonData()).ToList()); }; OnPersonDataBind(); //PersonList = new ObservableCollection<PersonModel>(personData.GetPersonData().Result.ToList()); DeleteCommand = new Command((name) => OnDeleteCommand(name.ToString())); }