public LeadAllottedPage(NewCampaignData selectedCampaign) { NavigationPage.SetBackButtonTitle(this, ""); InitializeComponent(); BindingContext = _leadAllottedViewModel = new LeadAllottedViewModel(Navigation); _leadAllottedViewModel.Initialize(selectedCampaign); }
public LeadAllottedDetailPage() { try { NavigationPage.SetBackButtonTitle(this, ""); InitializeComponent(); BindingContext = viewModel = new LeadAllottedViewModel(Navigation); //_list.ItemsSource = viewModel.list; } catch (Exception ex) { } }