Quellcode durchsuchen

添加homelist中的childList

zengjiebin vor 7 Jahren
Ursprung
Commit
d886c8e160

+ 16 - 0
app/src/main/java/com/sheep/gamegroup/model/entity/HomeListEntity.java

@@ -5,6 +5,8 @@ import android.text.TextUtils;
 import com.sheep.gamegroup.absBase.IJumpWeb;
 import com.sheep.gamegroup.module.home.api.IHomeList;
 
+import java.util.List;
+
 /**
  * 首页list
  * <p>
@@ -57,6 +59,8 @@ public class HomeListEntity implements IJumpWeb, IHomeList {
     private int Tag;//标签类型(0无,1热门,2最新,3现金,4活跃,5福利)
     private String JsUrl;
     private int IsNeedJsInteract;
+//    ChildList        []HomeList `orm:"-" description:"子集列表,如果为空可直接点击,不为空点击展示子列表" json:"child_list"`
+    private List<HomeListEntity> child_list;
 
     public int getTag() {
         return Tag;
@@ -187,6 +191,18 @@ public class HomeListEntity implements IJumpWeb, IHomeList {
         IsNeedJsInteract = isNeedJsInteract;
     }
 
+    public void setChild_list(List<HomeListEntity> child_list) {
+        this.child_list = child_list;
+    }
+
+    public List<HomeListEntity> getChild_list() {
+        return child_list;
+    }
+
+
+
+
+
     private boolean isNew() {
         return IsNew == 1;
     }

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

@@ -28,13 +28,11 @@ import android.view.Gravity;
 import android.view.LayoutInflater;
 import android.view.MotionEvent;
 import android.view.View;
-import android.view.ViewGroup;
 import android.view.WindowManager;
 import android.view.animation.Animation;
 import android.view.animation.OvershootInterpolator;
 import android.view.animation.TranslateAnimation;
 import android.widget.EditText;
-import android.widget.FrameLayout;
 import android.widget.ImageView;
 import android.widget.LinearLayout;
 import android.widget.PopupWindow;