zengjiebin 7 anni fa
parent
commit
9c17be4389

+ 1 - 1
app/src/main/java/com/sheep/gamegroup/view/fragment/FgtSmallSheep.java

@@ -291,7 +291,7 @@ public class FgtSmallSheep extends BaseFragment implements SmallSheepContract.Vi
 
     }
 
-    /**
+     /**
      * 兑换红包弹窗
      *
      * @param mActivity 当前Activity的,

+ 0 - 23
app/src/main/java/com/sheep/jiuyan/samllsheep/utils/GsonUtil.java

@@ -1,23 +0,0 @@
-package com.sheep.jiuyan.samllsheep.utils;
-
-import com.google.gson.Gson;
-
-import java.lang.reflect.Type;
-
-/**
- * Created by kemllor on 2017/12/15.
- */
-
-public class GsonUtil {
-
-    public static <T>  T getEntry(String jsonstr, Type type){
-        Gson gson = new Gson();
-        Object entry = gson.fromJson(jsonstr, type);
-        return  (T) entry;
-    }
-    public static <T>  T getEntry(String jsonstr, Class<T> classOfT){
-        Gson gson = new Gson();
-        Object entry = gson.fromJson(jsonstr, (Type)classOfT);
-        return  (T) entry;
-    }
-}