public ND_EndShiftPage() { InitializeComponent(); NavigationPage.SetHasNavigationBar(this, false); _objDailyEntryViewModel = new DailyEntryViewModel(); _objDriver_EndOfShiftRequest = new Driver_EndOfShiftRequest(); // BindingContext = _objDriver_EndOfShiftRequest; RadioButtonBinding(); _apiServices = new RestApi(); _objDriver_EndOfShiftResponse = new Driver_EndOfShiftResponse(); _objHeaderModel = new HeaderModel(); _baseUrl = Settings.Url + Domain.Driver_EndOfShiftApiConstant; }
public Driver_DailyCheckListPage(int sheetId, int vehicleId) { InitializeComponent(); NavigationPage.SetHasNavigationBar(this, false); _objDailyEntryViewModel = new DailyEntryViewModel(); _objHeaderModel = new HeaderModel(); _apiServices = new RestApi(); _baseUrl = Settings.Url + Domain.DriverDailyCheckListApiConstant; _baseUrlPostdata = Settings.Url + Domain.DriverDailyCheckListSubmitDataApiConstant; _objDriver_DailyCheckListGetResponse = new Driver_DailyCheckListGetResponse(); _objDriver_DailyCheckListPostResponse = new Driver_DailyCheckListPostResponse(); WorkSheetId = sheetId; VehicleId = vehicleId; RbtnList = new List <string>(); CheckBoxObj = new List <int>(); RadiobBtnObj = new List <int>(); LoadPageData(); }