-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
a9a5291
commit 04226b7
Showing
27 changed files
with
200 additions
and
342 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...rc/main/java/com/example/kbbikamusbesarbahasaindonesia/core/data/source/local/KosaKata.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
package com.example.kbbikamusbesarbahasaindonesia.core.data.source.local | ||
|
||
class KosaKata : ArrayList<String>() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
...a/com/example/kbbikamusbesarbahasaindonesia/core/data/source/remote/network/ApiService.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,10 @@ | ||
package com.example.kbbikamusbesarbahasaindonesia.core.data.source.remote.network | ||
|
||
import com.example.kbbikamusbesarbahasaindonesia.core.data.source.remote.response.ListWordResponse | ||
import com.example.kbbikamusbesarbahasaindonesia.model.Kata | ||
import retrofit2.Call | ||
import retrofit2.http.GET | ||
import retrofit2.http.Path | ||
|
||
interface ApiService { | ||
|
||
@GET("/cari/{kata}") | ||
fun getArtiKata( | ||
@Path("kata") kata: String, | ||
): Call<Kata> | ||
|
||
@GET("/cari/{word}") | ||
suspend fun getMeaningWord(@Path("word") word: String): ListWordResponse | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 0 additions & 3 deletions
3
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/data/KosaKata.kt
This file was deleted.
Oops, something went wrong.
31 changes: 0 additions & 31 deletions
31
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/database/KataDao.kt
This file was deleted.
Oops, something went wrong.
11 changes: 0 additions & 11 deletions
11
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/model/Arti.kt
This file was deleted.
Oops, something went wrong.
10 changes: 0 additions & 10 deletions
10
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/model/Data.kt
This file was deleted.
Oops, something went wrong.
15 changes: 0 additions & 15 deletions
15
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/model/History.kt
This file was deleted.
Oops, something went wrong.
20 changes: 0 additions & 20 deletions
20
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/model/Kata.kt
This file was deleted.
Oops, something went wrong.
34 changes: 0 additions & 34 deletions
34
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/repository/KataRepository.kt
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
app/src/main/java/com/example/kbbikamusbesarbahasaindonesia/ui/adapter/ArtiAdapter.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.