mirror of
https://github.com/SimpleMobileTools/Simple-App-Launcher.git
synced 2025-05-28 17:44:25 +02:00
allow horizontal dragging too
This commit is contained in:
parent
faebe19b53
commit
10b4b81ab0
@ -56,7 +56,7 @@ android {
|
||||
}
|
||||
|
||||
dependencies {
|
||||
implementation 'com.simplemobiletools:commons:5.31.27'
|
||||
implementation 'com.simplemobiletools:commons:5.31.28'
|
||||
implementation 'com.facebook.stetho:stetho:1.5.0'
|
||||
implementation 'androidx.multidex:multidex:2.0.1'
|
||||
implementation 'androidx.swiperefreshlayout:swiperefreshlayout:1.1.0'
|
||||
|
@ -37,7 +37,7 @@ class LaunchersAdapter(activity: SimpleActivity, val launchers: ArrayList<AppLau
|
||||
init {
|
||||
setupDragListener(true)
|
||||
|
||||
val touchHelper = ItemTouchHelper(ItemMoveCallback(this))
|
||||
val touchHelper = ItemTouchHelper(ItemMoveCallback(this, true))
|
||||
touchHelper.attachToRecyclerView(recyclerView)
|
||||
|
||||
startReorderDragListener = object : StartReorderDragListener {
|
||||
|
Loading…
x
Reference in New Issue
Block a user