Teo wrote:
> Hi, here is my code
> 
> private boolean populateMenu(Menu menu) {
> boolean result = super.onCreateOptionsMenu(menu);

Why are you calling super.onCreateOptionsMenu() from populateMenu()?

> @Override
> public boolean onCreateOptionsMenu(Menu menu) {
> super.onCreateOptionsMenu(menu);
> populateMenu(menu);

Why are you calling super.onCreateOptionsMenu() twice, once here, and 
once in populateMenu()?

I don't know if these are the source of your problem.

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com
Warescription: All titles, revisions, & ebook formats, just $35/year

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to