05/25/2018, 7:37 AM
Right. In that case, it does make sense to initialize a Tab only when selected. Nevertheless, this has a downside as well. In case where data is fetched in background, all the tabs are ready and the user gets a smooth experience when switching Tabs. Where as, in case where you perform an on-demand loading of data, user might to wait for sometime while switching each Tab. This may lead to bad user experience.