Solved how to give flick height in tableview
-
Hi,
I have wrote "tableview_id.flickableitem.flick(0,-500)" and on button click, tableview is getting flicked, first parameter is "x velocity" and second paramter is "y velocity". it is working properly.Now, My question is how to flick by certain height only, now it is flicking and showing last element.
I want to know, how i can flick by particular height only like row height only.
-
@Bhushan_Sure Never tried it but I have two suggestions:
- Set
flickDeceleration
to a value that will stop after the desired height. - Animate the
contentY
value instead of flicking.
Good luck!
- Set
-
@Tom_H Thank you for your suggestion, I have implemented in different way using flickableitem.atYend and contentY width.