Kazemihabib1996
06/12/2020, 8:22 AMreturn the amount of the [dragDistance] that has been consumed.
? I'm trying to understand the below sentence
consume all delta no matter the bounds to avoid nested dragging (as example)
https://android.googlesource.com/platform/frameworks/support/+/androidx-master-dev/ui/ui-foundation/samples/src/main/java/androidx/ui/foundation/samples/DraggableSamples.kt#100matvei
06/12/2020, 10:14 AMKazemihabib1996
06/12/2020, 12:31 PMHorizontalScroller {
Row {
repeat(10) { Text("Text $it") }
DraggableSample()
repeat(10) { Text("Text $it") }
}
}
matvei
06/12/2020, 12:34 PM