public void Init() { BackgroundColor = Constants.backgroundColor; btnBackToLogin.TextColor = Constants.logoColor; userController = new UserController(); secQuestionController = new SecQuestionController(); user = new User(); secQuestion = new SecQuestion(); }
void Init() //initializes components of page { BackgroundColor = Constants.backgroundColor; btnSignIn.TextColor = Constants.logoColor; userController = new UserController(); secQuestionController = new SecQuestionController(); profilePictureController = new ProfilePictureController(); user = new User(); datePickerDOB.MaximumDate = DateTime.Today; isActivitySpinnerShowing(false); isSecQuestionLayoutShowing(false); }