mirror of
https://github.com/mihonapp/mihon.git
synced 2025-11-26 18:48:36 +01:00
Migrate History screen to Compose (#6922)
* Migrate History screen to Compose - Migrate screen - Strip logic from presenter into use cases and repository - Setup for other screen being able to migrate to Compose with Theme * Changes from review comments
This commit is contained in:
@@ -21,6 +21,9 @@ lifecycle-runtimektx = { module = "androidx.lifecycle:lifecycle-runtime-ktx", ve
|
||||
work-runtime = "androidx.work:work-runtime-ktx:2.6.0"
|
||||
guava = "com.google.guava:guava:31.1-android"
|
||||
|
||||
paging-runtime = "androidx.paging:paging-runtime:3.1.1"
|
||||
paging-compose = "androidx.paging:paging-compose:1.0.0-alpha14"
|
||||
|
||||
[bundles]
|
||||
lifecycle = ["lifecycle-common", "lifecycle-process", "lifecycle-runtimektx"]
|
||||
workmanager = ["work-runtime", "guava"]
|
||||
|
||||
9
gradle/compose.versions.toml
Normal file
9
gradle/compose.versions.toml
Normal file
@@ -0,0 +1,9 @@
|
||||
[versions]
|
||||
compose = "1.2.0-alpha07"
|
||||
|
||||
[libraries]
|
||||
foundation = { module = "androidx.compose.foundation:foundation", version.ref="compose" }
|
||||
material3-core = "androidx.compose.material3:material3:1.0.0-alpha09"
|
||||
material3-adapter = "com.google.android.material:compose-theme-adapter-3:1.0.6"
|
||||
animation = { module = "androidx.compose.animation:animation", version.ref="compose" }
|
||||
ui-tooling = { module = "androidx.compose.ui:ui-tooling", version.ref="compose" }
|
||||
@@ -1,5 +1,5 @@
|
||||
[versions]
|
||||
kotlin_version = "1.6.20"
|
||||
kotlin_version = "1.6.10"
|
||||
coroutines_version = "1.6.1"
|
||||
serialization_version = "1.3.2"
|
||||
|
||||
|
||||
@@ -49,6 +49,7 @@ injekt-core = "com.github.inorichi.injekt:injekt-core:65b0440"
|
||||
|
||||
coil-core = { module = "io.coil-kt:coil", version.ref = "coil_version" }
|
||||
coil-gif = { module = "io.coil-kt:coil-gif", version.ref = "coil_version" }
|
||||
coil-compose = { module = "io.coil-kt:coil-compose", version.ref = "coil_version" }
|
||||
|
||||
subsamplingscaleimageview = "com.github.tachiyomiorg:subsampling-scale-image-view:846abe0"
|
||||
image-decoder = "com.github.tachiyomiorg:image-decoder:7481a4a"
|
||||
@@ -100,12 +101,12 @@ okhttp = ["okhttp-core","okhttp-logging","okhttp-dnsoverhttps"]
|
||||
js-engine = ["quickjs-android", "duktape-android"]
|
||||
sqlite = ["sqlitektx", "sqlite-android"]
|
||||
nucleus = ["nucleus-core","nucleus-supportv7"]
|
||||
coil = ["coil-core","coil-gif",]
|
||||
coil = ["coil-core","coil-gif","coil-compose"]
|
||||
flowbinding = ["flowbinding-android","flowbinding-appcompat","flowbinding-recyclerview","flowbinding-swiperefreshlayout","flowbinding-viewpager"]
|
||||
conductor = ["conductor-core","conductor-viewpager","conductor-support-preference"]
|
||||
shizuku = ["shizuku-api","shizuku-provider"]
|
||||
robolectric = ["robolectric-core","robolectric-playservices"]
|
||||
|
||||
[plugins]
|
||||
kotlinter = { id = "org.jmailen.kotlinter", version = "3.10.0"}
|
||||
kotlinter = { id = "org.jmailen.kotlinter", version = "3.6.0"}
|
||||
versionsx = { id = "com.github.ben-manes.versions", version = "0.42.0"}
|
||||
Reference in New Issue
Block a user