Specify Activity to launch in Android menu xml -


It would be great if I can specify which activity menu to launch in the xml file, Instead of overriding, OnOptionsItemSelected uses this method for each method. It seems that there may be something that can be done to implement it in a more beautiful way. Is there a solution that can get it?

I believe what you want

You will specify an ActionProvider and the provider will implement any activity such as starting an action / intent


Comments

Popular posts from this blog

c# - Highlight all words containing a letter in a richtextbox -

java - JavaFX WebEngine Video Playback in Linux -

Editing Python Class in Shell and SQLAlchemy -