public void OnTabChanged(string tabId) { int position = mTabHost.GetCurrentTab(); mViewPager.SetCurrentItem(position); }