Android Question Context Menu for ListView

mfstuart

Active Member
Licensed User
Longtime User
Hi all,
Im using a ListView with SingleLayout items added to it.
When it is loaded and available to the user, I would like them to have a popup menu of options to choose from for the selected item (row) in the ListView, when the user either does a Click or LongClick. The menu should popup above the selected row, either horizontally or vertically.
I've searched on the forum for this but no results talking about a Context Menu for a ListView.
I see it's possible in other development tools with Java.

Can someone point me in the right direction for this?

Regards,
Mark Stuart
 

Alexander Stolte

Expert
Licensed User
Longtime User
Upvote 0

mfstuart

Active Member
Licensed User
Longtime User
That's great Alexander, but that's for the xCustomListView. I'm looking for it to be for the ListView.
I see that @Erel posted THIS Custom Context Menu for Text Selection back in 2017. I'm wondering if it can be manipulated to work with a ListView?
Anyone with that expertise wish to contribute, as this is really needed in B4A?

Regards,
Mark Stuart
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…