protected override void OnAttachedTo(Picker bindable) { base.OnAttachedTo(bindable); viewModel = bindable.FindByName <StackLayout>("Layout").BindingContext as FiltersViewModel; bindable.SelectedIndexChanged += Bindable_SelectedIndexChanged; }
public FilterCommand(FiltersViewModel viewmodel) { filtersViewmodel = viewmodel; }