SnackbarUtils.show(fabSpeech, R.string.locate_fail);
}
}
}
private void onLocated(String city) {
<BUG>mCity = TextUtils.isEmpty(city) ? "北京" : city;
</BUG>
initCache(mCity);
<BUG>collapsingToolbar.setTitle(mCity);
</BUG>
fetchDataFromNetWork(mCity);

SnackbarUtils.show(fabSpeech, R.string.locate_fail);
}
}
}
private void onLocated(String city) {
mCity.name = TextUtils.isEmpty(city) ? "北京" : city;
initCache(mCity);
collapsingToolbar.setTitle(mCity.name);
