0

I have placed my tabhost inside a fragment. Tab host is having two tabs. I am using below code

tabHost.addTab(tabHost.newTabSpec("TabA").setIndicator("TabA"),TabA.class, arg1);
tabHost.addTab(tabHost.newTabSpec("TabB").setIndicator("TabB"),
        TabB.class, arg1);    

TabA and TabB are also fragments. How to refresh the nested fragment on tab change?

double-beep
  • 5,031
  • 17
  • 33
  • 41
Debdutta
  • 25
  • 6

1 Answers1

0

I have replaced the same with view page.

double-beep
  • 5,031
  • 17
  • 33
  • 41
Debdutta
  • 25
  • 6