Hi
I have a search page that have a Button to navigate to another page .
SearchPage Command :
(Application.Current.MainPage as NavigationPage).PushAsync(new OtherPage());
I have one SfComboBox and two SfTextInputLayout ant some other xamarin forms self controls in OtherPage XAML .
OtherPage Code Behind :
[XamlCompilation(XamlCompilationOptions.Compile)]
public partial class OtherPage : ContentPage
{
OtherViewModel Model;
public SearchEstatePage()
{
InitializeComponent();
Model = new OtherViewModel();
Layout.BindingContext = Model;
}
protected override void OnAppearing()
{
base.OnAppearing();
Model.GetCities();
}
}
Navigation takes about 4 seconds even if I remove BindingContext and run OtherPage without ViewModel . But when I remove SfComboBox and SfTextInputLayout navigation done without any delay . How can I fix this ?