Hello guys,
Ionic 4 binding not working on tab change. When you access a second tab and return to the first, the value is no longer changed.
Tab1
Tab2
Github Test project: https://github.com/jonatasfaria/ionic
Thanks!
Hello guys,
Ionic 4 binding not working on tab change. When you access a second tab and return to the first, the value is no longer changed.
Tab1
Tab2
Github Test project: https://github.com/jonatasfaria/ionic
Thanks!
Because count:any = 0 is not shared between the three pages
Use a service for that
Want to learn how: go to angular.io and follow the Tour of Heroes
This is all angular related basic stuff u need to master before continuing