
Drag-and-drop item reordering for LazyVerticalGrid, with onHoverStart/onHoverEnd callbacks to detect hover during drags; lightweight grid-focused implementation enabling hover-to-drop folder interactions.
Reorderable is a library for reordering items in Jetpack Compose. This fork currently focuses on LazyVerticalGrid, which is the only component required by ReadBear. Other components may work, but have not been tested.
onHoverStart and onHoverEnd callbacks to the reorderable state, allowing you to react when an item is hovered over or no longer hovered over during a drag operation.If you're using Version Catalog, add the following to your libs.versions.toml file:
[versions]
#...
reorderable = "3.2.1-tulis.1"
[libraries]
#...
reorderable = { module = "io.github.tulis12:reorderable", version.ref = "reorderable" }or
[libraries]
#...
reorderable = { module = "io.github.tulis12:reorderable", version = "3.2.1-tulis.1" }then
dependencies {
// ...
implementation(libs.reorderable)
}If you're using Gradle instead, add the following to your build.gradle file:
dependencies {
// ...
implementation("io.github.tulis12:reorderable:3.2.1-tulis.1")
}dependencies {
// ...
implementation 'io.github.tulis12:reorderable:3.2.1-tulis.1'
}Reorderable is a library for reordering items in Jetpack Compose. This fork currently focuses on LazyVerticalGrid, which is the only component required by ReadBear. Other components may work, but have not been tested.
onHoverStart and onHoverEnd callbacks to the reorderable state, allowing you to react when an item is hovered over or no longer hovered over during a drag operation.If you're using Version Catalog, add the following to your libs.versions.toml file:
[versions]
#...
reorderable = "3.2.1-tulis.1"
[libraries]
#...
reorderable = { module = "io.github.tulis12:reorderable", version.ref = "reorderable" }or
[libraries]
#...
reorderable = { module = "io.github.tulis12:reorderable", version = "3.2.1-tulis.1" }then
dependencies {
// ...
implementation(libs.reorderable)
}If you're using Gradle instead, add the following to your build.gradle file:
dependencies {
// ...
implementation("io.github.tulis12:reorderable:3.2.1-tulis.1")
}dependencies {
// ...
implementation 'io.github.tulis12:reorderable:3.2.1-tulis.1'
}