Replies: 1 comment 4 replies
-
The premise here isn't right - maybe was determined by looking at fyne_demo not the API itself? |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello,
I love working with lists. There are 2 things really missing for my app. Before start implementing it and make a PR, I wanted to have your review.
First, I noticed the behaviour of selecting item in list on android is not consistant with selecting item in fyne app. In android, selecting item is done by long press. Taping an item run another action, that can be called "open" the item (for more info on it, display larger, etc...)
That lead to the second point, I want another callback, say "OnOpen()" that be triggered when simple tap occur on item.
So, to summary:
1/ Select is done by simple click on desktop, long press on mobile
2/ Open is done by double click on desktop, simple tap on mobile.
Opening item is also very handy and clean the UI because you don't need to add a button on each row anymore, or to look for a button to open after selecting an item.
Yes I can implement a label with the event override but if the row is more than just a label, it's not intuitive to open.
What do you think ?
Beta Was this translation helpful? Give feedback.
All reactions