Answer the question
In order to leave comments, you need to log in
MVP how to correctly add onCreateOptionsMenu()?
Do I need to separate it when overriding the onCreateOptionsMenu() method? Or is it called in the activity, and buttons are added there, and onOptionsItemSelected() is processed in the same place? After all, there is a logic for adding buttons and their processing, but I don’t understand how to bring them out of the activity correctly and is it necessary?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question