Skip to main content
Version: 5.0

View Implementation

For either XML or JetPack Compose, the migration is very quick & painless on the View side. All you'll need to do is change a few lines.

Catalog Feature

We have changed where the Catalog is imported from.

You can replace this code:

<com.miam.kmm_miam_sdk.android.ui.components.catalog.Catalog

with:

<com.miam.sdk.components.catalog.Catalog

Customizing

You can completely configure all the templates & pages in the Catalog Feature.

Standalone Recipe Card Feature

We have changed the RecipeView to be a RecipeJourney that includes the Recipe Details & allows users to add it to their basket.

You can replace this code:

private val recipeView: RecipeView = itemView as RecipeView

with:

private val recipeView: RecipeJourney = itemView as RecipeJourney

// keep the same bind
fun bind(suggestionCriteria: SuggestionsCriteria?) {
recipeView.bind(criteria = suggestionCriteria)
}

Customizing

You can completely configure all the templates & pages associated with the Recipe Card Feature.

Favorites Feature

We have changed where the FavoritePage is imported from.

You can replace this code:

<com.miam.kmm_miam_sdk.android.ui.components.favoritePage.FavoritePage

with:

<com.miam.sdk.components.favoritePage.FavoritePage

Customizing

You can completely configure all the templates & pages in the Favorites Feature.

MyMeals Feature (Recipes in your basket)

We have changed where the MyMeal is imported from.

You can replace this code:

<com.miam.kmm_miam_sdk.android.ui.components.myMeal.MyMeal

with:

<com.miam.sdk.components.myMeal.MyMeal

Customizing

You can completely configure all the templates & pages in the MyMeals Feature.