public StudentsList()
 {
     InitializeComponent();
     ViewModel                = new StudentsPageViewModel();
     BindingContext           = ViewModel;
     StudentsView.ItemsSource = ViewModel.StudentList;
 }
 public StudentsPageView(int pageIndex, int subjectId, List <StatsStudentModel> students)
 {
     NavigationPage.SetHasNavigationBar(this, false);
     BackgroundColor = Color.FromHex(Theme.Current.AppBackgroundColor);
     Padding         = _padding;
     BindingContext  = new StudentsPageViewModel(new PlatformServices(), subjectId, students, pageIndex);
     createViews();
 }
 public StudentsPage()
 {
     InitializeComponent();
     BindingContext = new StudentsPageViewModel();
 }