private async void OnItemSelected() { if (PlaceDetails.IsEditMode) { StatusReady(); PlaceDetails.CancelEdit(); } PlaceOrders.IsMultipleSelection = false; var selected = PlaceList.SelectedItem; if (!PlaceList.IsMultipleSelection) { if (selected != null && !selected.IsEmpty) { await PopulateDetails(selected); await PopulateOrders(selected); } } PlaceDetails.Item = selected; }
public void Unload() { PlaceDetails.CancelEdit(); PlaceList.Unload(); }