This repository has been archived by the owner on Aug 18, 2021. It is now read-only.
Releases: caravancodes/consumable-code-the-meal-db-api
Releases · caravancodes/consumable-code-the-meal-db-api
Release v1.1.1
* Update build.gradle *
* Enhance Performance *
Update Build Gradle
* Fixing CLEARTEXT security policy issue *
* Update build.gradle *
* Fixing Bug *
* Enhance Performance *
* Remove Kotlin Android Extension *
Adding Sample Code
* Adding How to use this project and sample code *
Handling Progress View
Adding this method
// Show Progress View
fun onShowProgress()
// Hide Progress View
fun onHideProgress()
consumable-code-the-meal-db-api
Retrofit has been Handled !! || Consumable code for request API (TheMealDBApi) || Link https://www.themealdb.com/api.php
// Switch For Using Chuck Interceptor
fun usingChuckInterceptor(context: Context)
// Search meal by name
fun searchMeal(mealName: String, callback: MealResultCallback<MealResponse<Meal>>)
// List all meals by first letter
fun listAllMeal(firstLetter: String, callback: MealResultCallback<MealResponse<Meal>>)
// Lookup full meal details by id
fun lookupFullMeal(idMeal: String, callback: MealResultCallback<MealResponse<Meal>>)
// Lookup a single random meal
fun lookupRandomMeal(callback: MealResultCallback<MealResponse<Meal>>)
// List all meal categories
fun listMealCategories(callback: MealResultCallback<CategoryResponse>)
// List all Categories
fun listAllCateories(callback: MealResultCallback<MealResponse<Category>>)
// List all Area
fun listAllArea(callback: MealResultCallback<MealResponse<Area>>)
// List all Ingredients
fun listAllIngredients(callback: MealResultCallback<MealResponse<Ingredient>>)
// Filter by main ingredient
fun filterByIngredient(ingredient: String, callback: MealResultCallback<MealResponse<MealFilter>>)
// Filter by Category
fun filterByCategory(category: String, callback: MealResultCallback<MealResponse<MealFilter>>)
// Filter by Area
fun filterByArea(area: String, callback: MealResultCallback<MealResponse<MealFilter>>)