Package-level declarations
Types
Link copied to clipboard
A record returned by CountDao.getCategoryCounts
Link copied to clipboard
Interface to the categories table in the database.
Link copied to clipboard
Interface to the database "foods" table
Link copied to clipboard
Link copied to clipboard
Interface to the "ingredients" table.
Link copied to clipboard
data class IngredientToSave(val name: String, val amount: Double, val unit: String, val type: String, val index: Int)
An Ingredient that is about to be saved with a Recipe. Note: Because of an implementation detail, recipe sort indices will actually start with 2, and end at the number of ingredients plus 1.
Link copied to clipboard
data class LocaleStrings(val strings: MutableMap<String, String>, val arrays: MutableMap<String, List<String>> = mutableMapOf())
Class that holds translated strings, for reference from base strings.
Link copied to clipboard
Link copied to clipboard
Interface to the preferences database table.
Link copied to clipboard
data class RecipeToSave(val id: Long?, val name: String, val category: String, val servings: Int, val directions: String, val ingredients: List<IngredientToSave>)
A recipe that is about to be saved.