public void removeMenuPresenter ( MenuPresenter presenter ) { for ( WeakReference < MenuPresenter > ref : mPresenters ) { final MenuPresenter item = ref . get ( ) ; if ( item == null || item == presenter ) { mPresenters . remove ( ref ) ; } } }
Remove a presenter from this menu . That presenter will no longer receive notifications of updates to this menu s data .