You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Feb 26, 2023. It is now read-only.
@InjectMenu annotation gives not inflated Menu object. In generated code menu is inflated after it's set into annotated function. Menu object is not null but it's useless as it is not ready menu object.
AndroidAnnotations version:
4.2.0
Android compile SDK version:
25
Annotated code:
@EActivity(R.layout.activity_main)
@OptionsMenu(R.menu.main_menu)
publicclassMainActivityextendsAppCompatActivity {
@InjectMenuvoidsetMenu(MenumainMenu) {
//mainMenu is not inflated here!
}
}