public void addTopItem(MenuItem item){
  topItems.add(item);
  items.put(item.id,item);
  containerTop.addView(item);
  configureTopAnimations();
  if (menuShowed)   item.show();
}

public void addTopItem ( MenuItem item ) { topItems . add ( item ) ; items . put ( item . id , item ) ; containerTop . addView ( item ) ; configureTopAnimations ( ) ; if ( menuShowed ) item . show ( ) ; }
add a menuitem to top menu container
