SilicaListView + SnapOneItem
##Hello, i have SilicaListView and im browsing items one by one.. And i want menu here (with delete for example), but i have no idea, how to do it. I tryed PullDownMenu, but it does not work.
Does anyone can help me with creating some menu? Any link or suggestion would be cool.
Thanks!
Edit: I will try to specify more my problem:
I have grid with images. I choose one and open it, then i can slide left/right to go to previous or next image, which i achieved using
SilicaListView { snapMode: ListView.SnapOneItem }
But now i want to tap on that image and be able to use (drawer too, but that is not the problem) the PullDownMenu. It is the same behaviour like Sailfish Gallery app.
I hope it is clearer now :)
Edit2: I tryed to have Drawer in SilicaListView, but there was problem i could not swap back to the grid view, it just changed the current item to the previous one. So i put SilicaListView in Drawer.. IMHO it should work, but my application stops responding. Im passing model and currentIndex to SilicaListView using property alias in top elemen. I will be very happy for any hint why my application stops respond. my code
Edit3: Ok, im retarded. Problem solved, here is the correct code if anyone is interested in.
I commented my answer, please try that out as it is the same behavior as in Gallery as you requested.
jollailija ( 2015-10-02 13:54:20 +0200 )edit