|
|
@@ -7,11 +7,13 @@ import android.text.TextUtils;
|
|
|
import android.view.View;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
+import com.alibaba.fastjson.JSONArray;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
import com.kfzs.appstore.utils.adapter.recyclerview.RecyclerViewAdapter;
|
|
|
import com.kfzs.appstore.utils.adapter.recyclerview.ViewHolder;
|
|
|
import com.sheep.gamegroup.absBase.BaseRefreshLoadMoreFragment;
|
|
|
import com.sheep.gamegroup.helper.ImageListHelper;
|
|
|
+import com.sheep.gamegroup.model.entity.AppInfoExtDetail;
|
|
|
import com.sheep.gamegroup.model.entity.BaseMessage;
|
|
|
import com.sheep.gamegroup.model.entity.Entry;
|
|
|
import com.sheep.gamegroup.model.entity.Applications;
|
|
|
@@ -134,11 +136,11 @@ public class FgtGcGameAppDetail extends BaseRefreshLoadMoreFragment implements A
|
|
|
|
|
|
if(gameApp.getExt_detail() != null) {
|
|
|
try {
|
|
|
- JSONObject jsonObject = JSONObject.parseObject(gameApp.getExt_detail());
|
|
|
- if (jsonObject != null) {
|
|
|
- for (Map.Entry<String, Object> item : jsonObject.entrySet()) {
|
|
|
+ List<AppInfoExtDetail> list = JSONObject.parseArray(gameApp.getExt_detail(), AppInfoExtDetail.class);
|
|
|
+ if (!ListUtil.isEmpty(list)) {
|
|
|
+ for (AppInfoExtDetail item : list) {
|
|
|
try {
|
|
|
- entryList.add(new Entry<>(item.getKey(), item.getValue().toString()));
|
|
|
+ entryList.add(new Entry<>(item.getTitle(), item.getValue()));
|
|
|
} catch (Exception e) {
|
|
|
e.printStackTrace();
|
|
|
if(TestUtil.isDev())
|