Пример #1
0
 public void collapseActionView() {
   final MenuItemImpl item =
       mExpandedMenuPresenter == null ? null : mExpandedMenuPresenter.mCurrentExpandedItem;
   if (item != null) {
     item.collapseActionView();
   }
 }
Пример #2
0
 @Override
 public void onClick(View v) {
   final MenuItemImpl item = mExpandedMenuPresenter.mCurrentExpandedItem;
   if (item != null) {
     item.collapseActionView();
   }
 }