public void removeProfile ( int position ) { if ( mAccountHeaderBuilder . mProfiles != null && mAccountHeaderBuilder . mProfiles . size ( ) > position ) { mAccountHeaderBuilder . mProfiles . remove ( position ) ; } mAccountHeaderBuilder . updateHeaderAndList ( ) ; }
remove a profile from the given position