ImageViewer - delete currently showing image

26 views
Skip to first unread message

Bryan Buchanan

unread,
Nov 17, 2016, 12:31:49 AM11/17/16
to CodenameOne Discussions
Just wanting a suggestion on best UI approach to allow a user to delete the currently displayed ImageViewer image. Was thinking of a FloatingButton and querying the selectedIndex of the ListModel. Any better suggestion ?

Shai Almog

unread,
Nov 17, 2016, 11:56:04 PM11/17/16
to CodenameOne Discussions
That would work nicely. We often use a layered layout on top of the image viewer (e.g. in the kitchen sink dogs demo) to provide control but that code predated the floating button (which is effectively the same thing).

Bryan Buchanan

unread,
Nov 18, 2016, 12:01:14 AM11/18/16
to CodenameOne Discussions
Indeed it does :)

Reply all
Reply to author
Forward
0 new messages