Skip to content
This repository was archived by the owner on Aug 18, 2021. It is now read-only.

Commit 42da2a4

Browse files
committed
Renaming
1 parent 02320a6 commit 42da2a4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

app/src/main/java/com/frogobox/themealsapi/MainActivity.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package com.frogobox.themealsapi
33
import android.os.Bundle
44
import android.widget.Toast
55
import androidx.appcompat.app.AppCompatActivity
6-
import com.frogobox.frogothemealdbapi.ConsumeMealApi
6+
import com.frogobox.frogothemealdbapi.ConsumeTheMealDbApi
77
import com.frogobox.frogothemealdbapi.callback.MealResultCallback
88
import com.frogobox.frogothemealdbapi.data.model.Category
99
import 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>> {

frogothemealdbapi/src/main/java/com/frogobox/frogothemealdbapi/ConsumeMealApi.kt renamed to frogothemealdbapi/src/main/java/com/frogobox/frogothemealdbapi/ConsumeTheMealDbApi.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

frogothemealdbapi/src/main/java/com/frogobox/frogothemealdbapi/ConsumeMealApiView.kt renamed to frogothemealdbapi/src/main/java/com/frogobox/frogothemealdbapi/ConsumeTheMealDbApiView.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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)

0 commit comments

Comments
 (0)