8

onContextItemSelected does not get called in a DialogFragment

view full story
linux-howto

http://stackoverflow.com – I have a dialog that shows a list of items, I need to be able to edit/delete items in this list so I put a context menu in so when the user long presses on an item it they can choose what they want to do (edit or delete the item). The problem is that onContextItemSelected never gets called when an item in the context menu is selected. I checked to see if maybe the activity that created the dialog fragment is getting the callback but that is not either so why is there it not getting called? Can you not do a context menu in a dialog? public class TypesDialogList extends DialogFragment impleme (HowTos)