- checkDarkMode() - Method in class fi.group6.dessertrecipeapp.ActivityMyRecipes
-
This function is called in onCreate
The method let's the user switch between dark and light mode
The user preference is then saved to sharedPreferences
- checkDataValidity() - Method in class fi.group6.dessertrecipeapp.ActivityAddRecipe
-
Checks if data received from fields matches the requirements of the recipe to be complete.
- checkIfEmpty() - Method in class fi.group6.dessertrecipeapp.ActivityFavorites
-
This function is called in onCreate
The method checks if there are any favorites in the app yet
If no favorites are found, the placeholder text is shown
- checkIfEmpty() - Method in class fi.group6.dessertrecipeapp.ActivityMyRecipes
-
This function is called in onCreate
The method checks if there are any favorites in the app yet
If no favorites are found, the placeholder text is shown
- checkRecipeForAllGivenTags(List<String>, RecipeWithIngredients) - Method in class fi.group6.dessertrecipeapp.ActivitySearch
-
Checks if a recipe has all given tags
- CLICKED_ITEM - Static variable in class fi.group6.dessertrecipeapp.ActivityRecipe
-
- CLICKED_ITEM - Static variable in class fi.group6.dessertrecipeapp.RecyclerViewAdapter
-
- connectWidgets() - Method in class fi.group6.dessertrecipeapp.ActivityAddRecipe
-
This function is called in onCreate
All the widgets are connected to the xml ids
All the onClickListeners are set up
- countFavoriteRecipes() - Method in class fi.group6.dessertrecipeapp.classes.RecipeDao
-
This function to count favourite recipes where is_favourite = 1
- countIngredients(int) - Method in class fi.group6.dessertrecipeapp.classes.RecipeDao
-
This function to count ingredients in a recipe;
- countLocalRecipes() - Method in class fi.group6.dessertrecipeapp.classes.RecipeDao
-
This function to count local recipes where is_custom = 1
- countRecipes() - Method in class fi.group6.dessertrecipeapp.classes.RecipeDao
-
This function to count recipes
- countWordMatchesInLists(List<String>, List<String>) - Method in class fi.group6.dessertrecipeapp.ActivitySearch
-
Compares 2 lists of strings for identical words ignoring the case.