문제


I made a ListView that contains 3 rectangles (pages) & they are flicked horizontally, a rectangle is shown at a time & the view switches between them using a button,
I want to know how to prevent the user from switching between them by pressing & dragging pages (he can only go to another rectangle by pressing the button)
Thanks,

도움이 되었습니까?

해결책

you should set the "interactive" property to false. it belongs to the "Flickable" class from which "ListView" is derived.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top