This repository was archived by the owner on Aug 18, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
app/src/main/java/com/frogobox/themealsapi
frogothemealdbapi/src/main/java/com/frogobox/frogothemealdbapi Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ package com.frogobox.themealsapi
33import android.os.Bundle
44import android.widget.Toast
55import androidx.appcompat.app.AppCompatActivity
6- import com.frogobox.frogothemealdbapi.ConsumeMealApi
6+ import com.frogobox.frogothemealdbapi.ConsumeTheMealDbApi
77import com.frogobox.frogothemealdbapi.callback.MealResultCallback
88import com.frogobox.frogothemealdbapi.data.model.Category
99import com.frogobox.frogothemealdbapi.data.response.MealResponse
@@ -14,7 +14,7 @@ class MainActivity : AppCompatActivity() {
1414 super .onCreate(savedInstanceState)
1515 setContentView(R .layout.activity_main)
1616
17- val consumeMealApi = ConsumeMealApi (" 1" )
17+ val consumeMealApi = ConsumeTheMealDbApi (" 1" )
1818
1919 consumeMealApi.usingChuckInterceptor(this )
2020 consumeMealApi.listAllCateories(object : MealResultCallback <MealResponse <Category >> {
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import com.frogobox.frogothemealdbapi.data.source.MealRepository
2626 * com.frogobox.frogomealsapi
2727 *
2828 */
29- class ConsumeMealApi (private val apiKey : String ) : ConsumeMealApiView {
29+ class ConsumeTheMealDbApi (private val apiKey : String ) : ConsumeTheMealDbApiView {
3030
3131 private val repository = MealRepository (MealRemoteDataSource )
3232
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ import com.frogobox.frogothemealdbapi.data.response.MealResponse
2323 * com.frogobox.frogomealsapi
2424 *
2525 */
26- interface ConsumeMealApiView {
26+ interface ConsumeTheMealDbApiView {
2727
2828 // Switch For Using Chuck Interceptor
2929 fun usingChuckInterceptor (context : Context )
You can’t perform that action at this time.
0 commit comments