public App() { _matches = new ObservableCollection <Profile>(); _potentialMatches = new List <Profile>(); _user = new Profile(); _searchFilter = new Dictionary <string, string>(); _DBMediator = new DBMediator(); // //</dev> //for (int i = 0; i < 5; i++) //{ // fakeprofile(); //} //first time opening the app MainPage = new NavigationPage(new WelcomePage()); //profile already exists //dummyprofile(); //MainPage = new NavigationPage(new MainPage()); // </dev> NavigationManager.Instance.Navigation = MainPage.Navigation; InitializeComponent(); }
public LFGFilterPageViewModel() { navManager = NavigationManager.Instance; _DBMediator = new DBMediator(); SearchCommand = new Command(Search); }