Any idea why getBaseContext() returns null in methods invoked by
opOptionsItemSelected?
Thanks, that does work. But when I call getBaseContext() in the
onMenuItemSelected() method, it returns null. Ideas?
And just out of interest: There is TestMenuItem.click(), and from it's
implementation I thought it was supposed to do invoke
onMenuItemSelected(). Is this a bug or was TestMenuItem.click() intended
for testing something else?
> Take a look at ShadowMenuInflater and its supporting classes. You may
> be able to improve it in a way to support clicks the way you wish it to.
Whether or not I use ShadowMenuInflater doesn't make any difference at