|
|
@@ -7,6 +7,7 @@ import android.text.TextUtils;
|
|
|
import android.view.View;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
+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;
|
|
|
@@ -32,6 +33,7 @@ import com.sheep.jiuyan.samllsheep.SheepApp;
|
|
|
import java.util.ArrayList;
|
|
|
import java.util.Collections;
|
|
|
import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
import java.util.concurrent.TimeUnit;
|
|
|
|
|
|
import butterknife.BindView;
|
|
|
@@ -127,7 +129,15 @@ public class FgtGcGameAppDetail extends BaseRefreshLoadMoreFragment implements A
|
|
|
entryList.add(new Entry<>("大小", gameApp.getPackage_size()));
|
|
|
entryList.add(new Entry<>("更新日期", TimeUtil.TimeStamp2Date(gameApp.getDownload_at(), "yyyy-MM-dd")));
|
|
|
entryList.add(new Entry<>("发行商", gameApp.getManufacturer()));
|
|
|
- entryList.add(new Entry<>("开发商", gameApp.getManufacturer()));
|
|
|
+
|
|
|
+ JSONObject jsonObject = JSONObject.parseObject(gameApp.getExt_detail());
|
|
|
+ for (Map.Entry<String, Object> item : jsonObject.entrySet()) {
|
|
|
+ try {
|
|
|
+ entryList.add(new Entry<>(item.getKey(), item.getValue().toString()));
|
|
|
+ } catch (Exception e) {
|
|
|
+ e.printStackTrace();
|
|
|
+ }
|
|
|
+ }
|
|
|
gameInfoListArrayList.add(new GameInfoList("详细信息", new RecyclerViewAdapter<Entry<String, String>>(SheepApp.getInstance(), R.layout.item_gc_game_info, entryList) {
|
|
|
@Override
|
|
|
public void convert(ViewHolder viewHolder, Entry<String, String> item, int position) {
|