Commit 23e2a1d6 authored by wanglei's avatar wanglei

..

parent 8d62b409
...@@ -114,6 +114,7 @@ object WeatherUtils { ...@@ -114,6 +114,7 @@ object WeatherUtils {
val str = getWeatherJsonStr() val str = getWeatherJsonStr()
Log.d("glc", str) Log.d("glc", str)
if (TextUtils.isEmpty(str)) { if (TextUtils.isEmpty(str)) {
requestWeatherData()
} else { } else {
try { try {
val gson = Gson() val gson = Gson()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment