Creating options menu using Moxy library (Android)

110 Views Asked by At

I'm building an Android app using Moxy MVP library.

When I try to build the project, I get compilation error:

"Activity contains non-void method "onCreateOptionsMenu" that return type is boolean"

That is simple onCreateOptionsMenu methdod to inflate the menu. Is there a way to use activity class containing this lifecycle method with Moxy Presenter?

Or what is the correct way to work with such lifecycle methods and Moxy?

0

There are 0 best solutions below