The user can input details on the CreateRecipeScreen, IngredientsScreen, and PreparationScreen. This information is temporarily stored using a data view model and Hilt. Afterward, the data is processed to create a Recipe object, which is then saved to the database in the recipes collection.
The recipe is added with auto generated ID:
which can be viewed in the firebase firestore:
Once the data is collected and saved, a screen that informs the user about success is displayed.
The user can input details on the CreateRecipeScreen, IngredientsScreen, and PreparationScreen. This information is temporarily stored using a data view model and Hilt. Afterward, the data is processed to create a Recipe object, which is then saved to the database in the recipes collection.
The recipe is added with auto generated ID:
which can be viewed in the firebase firestore:
Once the data is collected and saved, a screen that informs the user about success is displayed.