@@ -397,7 +397,6 @@ export class BottomNavigation extends TabNavigationBase {
397397
398398 _onAttachedToWindow ( ) : void {
399399 super . _onAttachedToWindow ( ) ;
400- console . log ( '_onAttachedToWindow' , new Error ( ) . stack )
401400
402401 // _onAttachedToWindow called from OS again after it was detach
403402 // TODO: Consider testing and removing it when update to androidx.fragment:1.2.0
@@ -449,7 +448,6 @@ export class BottomNavigation extends TabNavigationBase {
449448 }
450449
451450 private disposeTabFragments ( ) : void {
452- console . log ( 'disposeTabFragsments' ) ;
453451 const fragments = this . fragments ;
454452 for ( let i = 0 ; i < fragments . length ; i ++ ) {
455453 this . removeFragment ( fragments [ i ] ) ;
@@ -539,12 +537,10 @@ export class BottomNavigation extends TabNavigationBase {
539537 private setPrimaryItem ( position : number , fragment : androidx . fragment . app . Fragment , force = false ) : void {
540538 if ( fragment !== this . _currentFragment || force ) {
541539 if ( this . _currentFragment != null ) {
542- console . log ( 'setPrimaryItem hiding curret' , this . selectedIndex , this . _currentFragment ) ;
543540 this . _currentFragment . setMenuVisibility ( false ) ;
544541 this . _currentFragment . setUserVisibleHint ( false ) ;
545542 }
546543
547- console . log ( 'setPrimaryItem' , position , fragment ) ;
548544 if ( fragment != null ) {
549545 fragment . setMenuVisibility ( true ) ;
550546 fragment . setUserVisibleHint ( true ) ;
0 commit comments