@@ -397,7 +397,6 @@ export class BottomNavigation extends TabNavigationBase {
397
397
398
398
_onAttachedToWindow ( ) : void {
399
399
super . _onAttachedToWindow ( ) ;
400
- console . log ( '_onAttachedToWindow' , new Error ( ) . stack )
401
400
402
401
// _onAttachedToWindow called from OS again after it was detach
403
402
// TODO: Consider testing and removing it when update to androidx.fragment:1.2.0
@@ -449,7 +448,6 @@ export class BottomNavigation extends TabNavigationBase {
449
448
}
450
449
451
450
private disposeTabFragments ( ) : void {
452
- console . log ( 'disposeTabFragsments' ) ;
453
451
const fragments = this . fragments ;
454
452
for ( let i = 0 ; i < fragments . length ; i ++ ) {
455
453
this . removeFragment ( fragments [ i ] ) ;
@@ -539,12 +537,10 @@ export class BottomNavigation extends TabNavigationBase {
539
537
private setPrimaryItem ( position : number , fragment : androidx . fragment . app . Fragment , force = false ) : void {
540
538
if ( fragment !== this . _currentFragment || force ) {
541
539
if ( this . _currentFragment != null ) {
542
- console . log ( 'setPrimaryItem hiding curret' , this . selectedIndex , this . _currentFragment ) ;
543
540
this . _currentFragment . setMenuVisibility ( false ) ;
544
541
this . _currentFragment . setUserVisibleHint ( false ) ;
545
542
}
546
543
547
- console . log ( 'setPrimaryItem' , position , fragment ) ;
548
544
if ( fragment != null ) {
549
545
fragment . setMenuVisibility ( true ) ;
550
546
fragment . setUserVisibleHint ( true ) ;
0 commit comments