admin
2021-12-22 0a1336cd2b95126d66d6f3126cb48a446cdbfad1
app/src/com/hanju/video/app/ui/category/MVideosActivity.java
@@ -22,6 +22,7 @@
import com.google.gson.GsonBuilder;
import com.google.gson.reflect.TypeToken;
import com.hanju.video.app.entity.recommend.HomeSpecial;
import com.hanju.video.app.util.JsonUtil;
import com.viewpagerindicator.MTabPageIndicator;
import com.hanju.video.app.util.http.BasicTextHttpResponseHandler;
import com.hanju.video.app.util.http.HttpApiUtil;
@@ -194,10 +195,8 @@
                            findViewById(R.id.pager)
                                    .setVisibility(View.VISIBLE);
                            Gson gson = new GsonBuilder().setFieldNamingPolicy(
                                    FieldNamingPolicy.UPPER_CAMEL_CASE)
                                    .create();
                            List<VideoType> videoType = gson.fromJson(
                            List<VideoType> videoType =  JsonUtil.videoGson.fromJson(
                                    jsonObject.getJSONObject("Data")
                                            .getJSONArray("data").toString(),
                                    new TypeToken<List<VideoType>>() {