Search Results

Search found 2 results on 1 pages for 'wsgjj'.

Page 1/1 | 1 

  • android dev: how to implement for add method in menu interface?

    - by wsgjj
    who knows about the method "add" in menu interface? how to implement exactly? which is it's imlementation class? i couldn't find detail implementation in source code of sdk. i want to check how to implement in android source code for "add" method. e.g. public boolean onCreateOptionsMenu(Menu menu) { menu.***add***(0, MENU_NEW_GAME, 0, "New Game"); menu.add(0, MENU_QUIT, 0, "Quit"); return true; } thanks in advance!

    Read the article

1