예제 #1
0
        public App() // App starts here
        {
            conn = new APIConnection();

            // Instansiate the user object. The user object will try to read previous settings.
            user = new User(conn);

            // Initialize the viewmodels
            GlobalFuncs.fvm = new ViewModel.FeedViewModel(null);
            GlobalFuncs.mvm = new ViewModel.MarkedViewModel(null);
            GlobalFuncs.uvm = new ViewModel.UnlockedViewModel(null);
            GlobalFuncs.svm = new ViewModel.CategoryViewModel();
            GPSFetcher.pvm  = new ViewModel.PublishViewModel();


            MainPage = new NavigationBar(user, conn);
        }