public AddRecordViewModel(SheetsAPI _GoogleSheetsService) { GoogleSheetsService = _GoogleSheetsService; AvailableSheets = GoogleSheetsService.AvailableSheets; Categories = GoogleSheetsService.GetCategories(); SelectedSheet = AvailableSheets[0]; }
public AddRecord(SheetsAPI _GoogleSheetsService) { BindingContext = new AddRecordViewModel(_GoogleSheetsService); InitializeComponent(); }