I used a component inherited from TabbedComponent to show tabs.
At the init time, I added tabs
m_tabs->addTab(“tab-name-1”, tab-color-1, new myComponentA(), true);
m_tabs->addTab(“tab-name-2”, tab-color-2, new myComponentB(), true);
After initialized, my UI already had 2 tabs with the content of myComponentA,
myComponentB and it didn’t reload again when I clicked to tab1 or tab2.
How can I detect tab1 or tab2 click event to reload UI, because in tab2 I change some value in tab1 and I need to reload it?