title: android tab host not refreshing data
body: <p>I am using a Tab host two show two list on two tabs but I want that when click on second tab then it should reload the first tab data.How is it possible?
  My code is like this</p>
  
  <pre><code>TabHost tabs = (TabHost)findViewById(R.id.tabhost_spices);
      tabs.setup();`enter code here`
  TabHost.TabSpec tab1 = tabs.newTabSpec("tab1");
  
      tab1.setContent(R.id.list_spices_fav);
      tab1.setIndicator("Favorite",getContext().getResources().getDrawable(R.drawable.tab_fav_icon));
  
      tabs.addTab(tab1);
  
      // create tab 2
      TabHost.TabSpec tab2 = tabs.newTabSpec("tab2");
      tab2.setContent(R.id.list_spices_categories);
  
      tab2.setIndicator("View List",getContext().getResources().getDrawable(R.drawable.tab_cat_icon));
      tabs.addTab(tab2);
  </code></pre>