MouseArea events on a Listview Component
-
@Yuri I would say to try adding "preventStealing: true" to your Mouse Area. I would also double check that the listveiw has a height and width > 0.
-
@Buttink Putting in "preventStealing: true" somehow prevented any operation on the listview. We double checked the dimension of the listview and seem fine.
-
@Yuri Hmm then I guess it must be related to touchscreen drivers or Qt configuration. May be you should ask on FreeScale community forum.
-
@p3c0 We thought that maybe just one of the problems. We just wanted to know if there was something wrong with the way the qml file was written.
-
@Yuri Who is the parent of
ListView? I just test the code withItemandWindowas parents on Android phone and it works as expected. -
@p3c0 I have updated the OP to include everything on the file. The parent is a Window. Also we just found out that if you touch the first item(index:0), it seem to fire up click and release properly.
-
@p3c0 I have updated the OP to include everything on the file. The parent is a Window. Also we just found out that if you touch the first item(index:0), it seem to fire up click and release properly.