Recipe
is being assembledIngredient
to a specific entry in the active Fragment
and attaches a reference to the EditingFragment to handle user input.Ingredient
to a specific binding and attaches the
active Fragment to handle user input.Step
to a specific entry in the active Fragment and
attaches a reference to the EditingFragment to handle user input.RecipeRepository.connect(String)
,
which are generated by Jsoup.connect(String)
Recipe
s stored in the local databaseCookbookFragment
Recipe
sCookbookFragment
that gives the option to delete a single Recipe
.RecipeFragment
,
but allows the user to edit the fields.View
to each binding.View
to each binding.JsoupMachine
to extract String elements.MainViewModel.makeItGo(String)
completes successfully.Document
for the text of the given String
, and returns the "class" HTML attribute of the first element containing that text.Element
s
the contents of each matching HTML element.Recipe
s.EditingFragment
or RecipeFragment
.MainActivity.onOptionsItemSelected(MenuItem)
behavior.LoadingFragment
on navigation from the HomeFragment to begin processing.SelectDialog
SelectDialog
HomeFragment
or not (which determines what
processing methods are called next).MainViewModel
and starts the loading animation.MainViewModel
to clear its status field (which the LoadingFragment reads) and
display the text elements scraped from the HTML.MainViewModel
and inflates the
Fragment using findViewById().JsoupMachine
for processing.SelectionFragment
when navigating back to the LoadingFragment.RecipePojo
data returned by a database query.Recipe
.View
to each binding.MainViewModel
and interacts with the JsoupMachine
.View
to each binding.MutableLiveData
values (except Status) to default to clear data from prior
activities.Recipe
SelectionFragment
and marks it as text from an
Ingredient or Step for further processing with Jsoup.SelectionFragment
.Recipe
s.EditingFragment
or
RecipeFragment
.JsoupMachine
when text selected by the user is found in more than one HTML element.JsoupMachine
when JsoupMachine.prepare(Document)
fails to
extract any text elements, or the text selected by the user is not found in the HTML.