Currently my app has 3 switches, when user tap of the switch i will update some chart data in my tab view,
Currently when the switch is tab, the switch will delayed respond, the switch did not change its isOn state visually. only after all charts has being updated, then the state will change.
what i expected is as follows
- User tap on switch
- Switch change it's isOn state visually
- Busy Indicator show isBusy animation
- code proceed to get the chart data and update the corresponding chart
- Busy Indicator isBusy false.
- Chart shown updated data
my current code
While the data is loading the barBusyIndicator is not showing at all
Inside loadBarChartData(), just before the method end, i have added isVisible and isBusy to false