Android Question [Solved] AppCombat - Activity_CreateMenu

Air

Member
Licensed User
Longtime User
When did the Activity_CreateMenu start?

Before Activity_Resume or after?

In Activity_Resume i call a Sub "Prefs_HandleSettings"
Inside this Sub the Icons of the ACToolbar-Buttons must be changed.
(Some Icons have to be changed depending on saved Preferences.)

But i get a ForceClose because there is no Toolbar-Button to change.

Is it possible to start Activity_CreateMenu before Activity_Resume?
 

corwin42

Expert
Licensed User
Longtime User
When did the Activity_CreateMenu start?

Before Activity_Resume or after?

after

In Activity_Resume i call a Sub "Prefs_HandleSettings"
Inside this Sub the Icons of the ACToolbar-Buttons must be changed.
(Some Icons have to be changed depending on saved Preferences.)

But i get a ForceClose because there is no Toolbar-Button to change.

Is it possible to start Activity_CreateMenu before Activity_Resume?
No.

In Activity_CreateMenu access your settings and create the menu as needed.
 
  • Like
Reactions: Air
Upvote 0
Top