|
|
@ -149,7 +149,7 @@ public class INVTransActivity extends AppCompatActivity { |
|
|
|
result = HelpUtil.initList(TransType); |
|
|
|
if (!TextUtils.isEmpty(result) && result.length() != 0){ |
|
|
|
applicationModel = new Gson().fromJson(result,ApplicationModel.class); |
|
|
|
if (applicationModel.getSuccess()){ |
|
|
|
if (applicationModel.getSuccess() && applicationModel.getData() != null){ |
|
|
|
for (Data datum : applicationModel.getData()) { |
|
|
|
mList.add(datum.getTransCode()); |
|
|
|
} |
|
|
@ -159,7 +159,7 @@ public class INVTransActivity extends AppCompatActivity { |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} catch (JsonSyntaxException e) { |
|
|
|
} catch (Exception e) { |
|
|
|
e.printStackTrace(); |
|
|
|
ErrorMsg = e.getMessage(); |
|
|
|
handler.sendEmptyMessage(99); |
|
|
|