aclassen / ComposeReorderable

Enables reordering by drag and drop in Jetpack Compose (Desktop) LazyList & LazyGrid.
Apache License 2.0
836 stars 89 forks source link

please support ios #287

Open Felis-nigripes opened 4 months ago

Felis-nigripes commented 4 months ago

compose mulitplatform ios is beta,please support ios, thanks.

Him188 commented 2 months ago

We have a fork here https://github.com/open-ani/ComposeReorderable which added ios targets and upgraded Kotlin and Compose versions to modern ones. You may import it using Gradle Copmosite Builds:

// settings.gradle.kts
includeBuild("app/shared/reorderable") {
    dependencySubstitution {
        substitute(module("org.burnoutcrew.composereorderable:reorderable")).using(project(":reorderable"))
    }
}

app/shared/reorderable points to the fork.

YoussefHachicha commented 1 month ago

sorry but how do u exactly import the forked version I cloned the fork into my project into app/shared/reordable then I added that block of code in my settings.gradle.kts, then I added this: dependencies { implementation("org.burnoutcrew.composereorderable:reorderable:") } to my module build gradle and I got an error.

Him188 commented 1 month ago

@YoussefHachicha That should do the job. Ensure that app/shared/reorderable/build.gradle.kts exists (so that you have a correct setup). Try to upgrade Gradle to 8.7 if you are lower.

Check if there is a typo (there do exist one in your comment)