Skip to content
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

Release v1.1.1

27 Jun 18:42
Compare
Choose a tag to compare
* Update build.gradle *
* Enhance Performance *

Update Build Gradle

09 May 22:13
Compare
Choose a tag to compare
* Fixing CLEARTEXT security policy issue *
* Update build.gradle *
* Fixing Bug *
* Enhance Performance *
* Remove Kotlin Android Extension *

Adding Sample Code

16 May 14:10
Compare
Choose a tag to compare
* Adding How to use this project and sample code *

Handling Progress View

17 Mar 07:31
Compare
Choose a tag to compare

Adding this method

    // Show Progress View
    fun onShowProgress()

    // Hide Progress View
    fun onHideProgress()

consumable-code-the-meal-db-api

15 Mar 10:40
Compare
Choose a tag to compare

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>>)