Skip to content

Commit 69152e3

Browse files
committed
bump deps
1 parent a6d1136 commit 69152e3

File tree

13 files changed

+79
-86
lines changed

13 files changed

+79
-86
lines changed

.idea/deploymentTargetDropDown.xml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/hoc/comicapp/activity/main/MainActivity.kt

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -232,11 +232,6 @@ class MainActivity : ScopeActivity(R.layout.activity_main) {
232232
override fun onSupportNavigateUp() =
233233
navController.navigateUp(appBarConfiguration) || super.onSupportNavigateUp()
234234

235-
override fun onPrepareOptionsMenu(menu: Menu?): Boolean {
236-
237-
return true
238-
}
239-
240235
override fun onCreateOptionsMenu(menu: Menu): Boolean {
241236
// Inflate the menu; this adds items to the action bar if it is present.
242237
menuInflater.inflate(R.menu.main, menu)

app/src/main/java/com/hoc/comicapp/data/local/dao/ChapterDao.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import androidx.lifecycle.LiveData
44
import androidx.room.Dao
55
import androidx.room.Delete
66
import androidx.room.Insert
7-
import androidx.room.OnConflictStrategy.IGNORE
7+
import androidx.room.OnConflictStrategy.Companion.IGNORE
88
import androidx.room.Query
99
import androidx.room.Transaction
1010
import androidx.room.Update

app/src/main/java/com/hoc/comicapp/data/local/dao/ComicDao.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ package com.hoc.comicapp.data.local.dao
33
import androidx.room.Dao
44
import androidx.room.Delete
55
import androidx.room.Insert
6-
import androidx.room.OnConflictStrategy.IGNORE
6+
import androidx.room.OnConflictStrategy.Companion.IGNORE
77
import androidx.room.Query
88
import androidx.room.Transaction
99
import androidx.room.Update

app/src/main/java/com/hoc/comicapp/data/local/entities/ComicEntity.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,17 +38,17 @@ data class ComicEntity(
3838
) {
3939
@Keep
4040
data class Category(
41-
@field:Json(name = "link")
41+
@Json(name = "link")
4242
val link: String, // https://ww2.mangafox.online/category/webtoons
43-
@field:Json(name = "name")
43+
@Json(name = "name")
4444
val name: String, // Webtoons
4545
)
4646

4747
@Keep
4848
data class Author(
49-
@field:Json(name = "link")
49+
@Json(name = "link")
5050
val link: String, // https://ww2.mangafox.online/author/sung-lak-jang
51-
@field:Json(name = "name")
51+
@Json(name = "name")
5252
val name: String, // Sung-Lak Jang
5353
)
5454
}

app/src/main/java/com/hoc/comicapp/data/remote/response/CategoryDetailPopularComicResponse.kt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,20 +5,20 @@ import com.squareup.moshi.Json
55

66
@Keep
77
data class CategoryDetailPopularComicResponse(
8-
@field:Json(name = "last_chapter")
8+
@Json(name = "last_chapter")
99
val lastChapter: LastChapter,
10-
@field:Json(name = "link")
10+
@Json(name = "link")
1111
val link: String, // https://ww2.mangafox.online/the-fiancee-is-here
12-
@field:Json(name = "thumbnail")
12+
@Json(name = "thumbnail")
1313
val thumbnail: String, // https://cdn1.mangafox.online/625/080/369/821/818/the-fiancee-is-here.jpg
14-
@field:Json(name = "title")
14+
@Json(name = "title")
1515
val title: String, // The Fiancee is Here
1616
) {
1717
@Keep
1818
data class LastChapter(
19-
@field:Json(name = "chapter_link")
19+
@Json(name = "chapter_link")
2020
val chapterLink: String, // https://ww2.mangafox.online/the-fiancee-is-here/chapter-13-648903251249287
21-
@field:Json(name = "chapter_name")
21+
@Json(name = "chapter_name")
2222
val chapterName: String, // Chapter 13
2323
)
2424
}

app/src/main/java/com/hoc/comicapp/data/remote/response/CategoryResponse.kt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ import com.squareup.moshi.Json
55

66
@Keep
77
data class CategoryResponse(
8-
@field:Json(name = "description")
8+
@Json(name = "description")
99
val description: String, // Isekai translates to "another world." This subgenre typically has a narrative where a protagonist somehow gets transported to a different world. The new world is more often than not in a fantasy setting, occasionally with traits pulled from JRPG games.This category of anime exploded during the 2010s and arguably dominated the decade. A good portion of isekai anime is adapted not from manga but rather from light novels. The most popular series in this subgenre may be Sword Art Online. While the world featured there was just virtual reality, it did feature a fantasy setting that would be mimicked in other anime.The type of anime has become so prevalent that there is actually a backlash against it now. Story contests in Japan have actually banned isekai stories from being submitted just because of how saturated the market has become with it.
10-
@field:Json(name = "link")
10+
@Json(name = "link")
1111
val link: String, // https://ww2.mangafox.online/category/isekai
12-
@field:Json(name = "name")
12+
@Json(name = "name")
1313
val name: String, // Isekai
14-
@field:Json(name = "thumbnail")
14+
@Json(name = "thumbnail")
1515
val thumbnail: String, // https://cdn1.mangafox.online/542/954/495/674/357/the-duchess-50-tea-recipes.jpg
1616
)

app/src/main/java/com/hoc/comicapp/data/remote/response/ChapterDetailResponse.kt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -5,28 +5,28 @@ import com.squareup.moshi.Json
55

66
@Keep
77
data class ChapterDetailResponse(
8-
@field:Json(name = "chapter_link")
8+
@Json(name = "chapter_link")
99
val chapterLink: String, // https://ww2.mangafox.online/solo-leveling/chapter-65-159349729567655
10-
@field:Json(name = "chapter_name")
10+
@Json(name = "chapter_name")
1111
val chapterName: String, // Chapter 65
12-
@field:Json(name = "chapters")
12+
@Json(name = "chapters")
1313
val chapters: List<Chapter>,
14-
@field:Json(name = "images")
14+
@Json(name = "images")
1515
val images: List<String>,
16-
@field:Json(name = "comic_name")
16+
@Json(name = "comic_name")
1717
val comicName: String,
18-
@field:Json(name = "comic_link")
18+
@Json(name = "comic_link")
1919
val comicLink: String,
20-
@field:Json(name = "prev_chapter_link")
20+
@Json(name = "prev_chapter_link")
2121
val prevChapterLink: String?, // https://ww2.mangafox.online/solo-leveling/chapter-64-1137969534934196
22-
@field:Json(name = "next_chapter_link")
22+
@Json(name = "next_chapter_link")
2323
val nextChapterLink: String?,
2424
) {
2525
@Keep
2626
data class Chapter(
27-
@field:Json(name = "chapter_link")
27+
@Json(name = "chapter_link")
2828
val chapterLink: String, // https://ww2.mangafox.online/solo-leveling/chapter-0-275968490470920
29-
@field:Json(name = "chapter_name")
29+
@Json(name = "chapter_name")
3030
val chapterName: String, // Chapter 0
3131
)
3232
}

app/src/main/java/com/hoc/comicapp/data/remote/response/ComicDetailResponse.kt

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -5,52 +5,52 @@ import com.squareup.moshi.Json
55

66
@Keep
77
data class ComicDetailResponse(
8-
@field:Json(name = "authors")
8+
@Json(name = "authors")
99
val authors: List<Author>,
10-
@field:Json(name = "categories")
10+
@Json(name = "categories")
1111
val categories: List<Category>,
12-
@field:Json(name = "chapters")
12+
@Json(name = "chapters")
1313
val chapters: List<Chapter>,
14-
@field:Json(name = "last_updated")
14+
@Json(name = "last_updated")
1515
val lastUpdated: String, // April 2019
16-
@field:Json(name = "link")
16+
@Json(name = "link")
1717
val link: String, // https://ww2.mangafox.online/solo-leveling
18-
@field:Json(name = "related_comics")
18+
@Json(name = "related_comics")
1919
val relatedComics: List<ComicResponse>,
20-
@field:Json(name = "shortened_content")
20+
@Json(name = "shortened_content")
2121
val shortenedContent: String, // Solo Leveling summary: 10 years ago, after “the Gate” that connected the real world with the monster world opened, some of the ordinary, everyday people received the power to hunt monsters within the Gate. They are known as "Hunters". However, not all Hunters are powerful. My name is Sung Jin-Woo, an E-rank Hunter. I'm someone who has to risk his life in the lowliest of dungeons, the "World's Weakest". Having no skills whatsoever to display, I barely earned the required money by fighting in low-leveled dungeons… at least until I found a hidden dungeon with the hardest difficulty within the D-rank dungeons! In the end, as I was accepting death, I suddenly received a strange power, a quest log that only I could see, a secret to leveling up that only I know about! If I trained in accordance with my quests and hunted monsters, my level would rise. Changing from the weakest Hunter to the strongest S-rank Hunter!
22-
@field:Json(name = "thumbnail")
22+
@Json(name = "thumbnail")
2323
val thumbnail: String, // https://cdn1.mangafox.online/900/018/013/989/430/solo-leveling.jpg
24-
@field:Json(name = "title")
24+
@Json(name = "title")
2525
val title: String, // Solo Leveling
26-
@field:Json(name = "view")
26+
@Json(name = "view")
2727
val view: String, // 76228
2828
) {
2929
@Keep
3030
data class Chapter(
31-
@field:Json(name = "chapter_link")
31+
@Json(name = "chapter_link")
3232
val chapterLink: String, // https://ww2.mangafox.online/solo-leveling/chapter-0-275968490470920
33-
@field:Json(name = "chapter_name")
33+
@Json(name = "chapter_name")
3434
val chapterName: String, // Chapter 0
35-
@field:Json(name = "time")
35+
@Json(name = "time")
3636
val time: String, // December 2018
37-
@field:Json(name = "view")
37+
@Json(name = "view")
3838
val view: String, // 9592
3939
)
4040

4141
@Keep
4242
data class Category(
43-
@field:Json(name = "link")
43+
@Json(name = "link")
4444
val link: String, // https://ww2.mangafox.online/category/webtoons
45-
@field:Json(name = "name")
45+
@Json(name = "name")
4646
val name: String, // Webtoons
4747
)
4848

4949
@Keep
5050
data class Author(
51-
@field:Json(name = "link")
51+
@Json(name = "link")
5252
val link: String, // https://ww2.mangafox.online/author/sung-lak-jang
53-
@field:Json(name = "name")
53+
@Json(name = "name")
5454
val name: String, // Sung-Lak Jang
5555
)
5656
}

app/src/main/java/com/hoc/comicapp/data/remote/response/ComicResponse.kt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,24 +5,24 @@ import com.squareup.moshi.Json
55

66
@Keep
77
data class ComicResponse(
8-
@field:Json(name = "last_chapters")
8+
@Json(name = "last_chapters")
99
val lastChapters: List<LastChapter>,
10-
@field:Json(name = "link")
10+
@Json(name = "link")
1111
val link: String, // https://ww2.mangafox.online/volcanic-age
12-
@field:Json(name = "thumbnail")
12+
@Json(name = "thumbnail")
1313
val thumbnail: String, // https://cdn1.mangafox.online/132/857/695/330/341/5/volcanic-age.jpg
14-
@field:Json(name = "title")
14+
@Json(name = "title")
1515
val title: String, // Volcanic Age
16-
@field:Json(name = "view")
16+
@Json(name = "view")
1717
val view: String, // 1.1k
1818
) {
1919
@Keep
2020
data class LastChapter(
21-
@field:Json(name = "chapter_link")
21+
@Json(name = "chapter_link")
2222
val chapterLink: String, // https://ww2.mangafox.online/volcanic-age/chapter-90-512420270425665
23-
@field:Json(name = "chapter_name")
23+
@Json(name = "chapter_name")
2424
val chapterName: String, // Chapter 90
25-
@field:Json(name = "time")
25+
@Json(name = "time")
2626
val time: String, // 2 days ago
2727
)
2828
}

0 commit comments

Comments
 (0)