icerockdev / moko-widgets

Multiplatform UI DSL with screen management in common code for mobile (android & ios) Kotlin Multiplatform development
https://moko.icerock.dev
Apache License 2.0
387 stars 32 forks source link

Widget List implement long item click and swipe to action #255

Open Diy2210 opened 4 years ago

Diy2210 commented 4 years ago

How I implement long item click and swipe to action from widget list?

Alex009 commented 4 years ago

long click and swipe not implemented yet in common code. if you want it - implement your own widget, just like https://github.com/icerockdev/moko-widgets/blob/master/widgets/src/commonMain/kotlin/dev/icerock/moko/widgets/ClickableWidget.kt

Alex009 commented 4 years ago

i mark issue as enhancement to add support of long click and swipe later

Diy2210 commented 4 years ago

I understand, we will wait!