|
|
|
@ -91,7 +91,8 @@ public class HomeActivity extends BaseActivity implements View.OnFocusChangeList |
|
|
|
|
@Override |
|
|
|
|
public void onChanged(String s) { |
|
|
|
|
tv_city.setText(CacheUtil.getIpAddress() == null ? "选择城市" : CacheUtil.getIpAddress().getMemo()); |
|
|
|
|
mViewPager.setCurrentItem(mViewPager.getCurrentItem()); |
|
|
|
|
MyDoctorFragment currentFragment = (MyDoctorFragment) fragments.get(mViewPager.getCurrentItem()); |
|
|
|
|
currentFragment.loadData(); |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
} |
|
|
|
|