Browse Source

feat 无模型设备滑动

lihao1 3 years ago
parent
commit
327b53610e

+ 2 - 2
demo/src/main/java/com/sybotan/android/demo/activities/EquipContainerActivity.kt

@@ -3,6 +3,7 @@ package com.sybotan.android.demo.activities
 import android.content.Intent
 import android.graphics.PointF
 import android.os.Bundle
+import android.widget.ExpandableListView
 import android.widget.TextView
 import com.framework.mvvm.model.db.entity.task.ObjectEntity
 import com.google.gson.Gson
@@ -11,7 +12,6 @@ import com.sybotan.android.demo.adapter.ContainerExpandAdapter
 import com.sybotan.android.demo.bean.ContainerParentBean
 import com.sybotan.android.demo.bean.result.Position
 import com.sybotan.android.demo.bean.result.Z
-import com.sybotan.android.demo.view.SuperExpandableListView
 import com.sybotan.android.demo.viewmodel.ContainerVM
 import java.util.HashMap
 
@@ -20,7 +20,7 @@ import java.util.HashMap
  */
 class EquipContainerActivity : BaseActivity() {
     private lateinit var title: TextView
-    private lateinit var expandlv: SuperExpandableListView
+    private lateinit var expandlv: ExpandableListView
 
     /** 建筑Id */
     private lateinit var buildingId: String

+ 1 - 1
demo/src/main/res/layout/activity_equip_container.xml

@@ -17,7 +17,7 @@
         android:textColor="@color/black_272727"
         android:textSize="18sp" />
 
-    <com.sybotan.android.demo.view.SuperExpandableListView
+    <ExpandableListView
         android:id="@+id/expandlv"
         android:layout_width="match_parent"
         android:layout_height="match_parent" />