Initial commit

This commit is contained in:
Finnley Somdahl 2023-10-17 18:42:43 -05:00
commit 21bfbfb139
520 changed files with 47819 additions and 0 deletions

View file

@ -0,0 +1,20 @@
package ani.dantotsu.media.manga
import ani.dantotsu.media.MediaDetailsViewModel
import ani.dantotsu.media.SourceAdapter
import ani.dantotsu.media.SourceSearchDialogFragment
import ani.dantotsu.parsers.ShowResponse
import kotlinx.coroutines.CoroutineScope
class MangaSourceAdapter(
sources: List<ShowResponse>,
val model: MediaDetailsViewModel,
val i: Int,
val id: Int,
fragment: SourceSearchDialogFragment,
scope: CoroutineScope
) : SourceAdapter(sources, fragment, scope) {
override suspend fun onItemClick(source: ShowResponse) {
model.overrideMangaChapters(i, source, id)
}
}