|
@@ -294,7 +294,7 @@ class EquipDetailActivity : BaseActivity(), View.OnTouchListener {
|
|
|
val hashMap = params as HashMap<String, Any>
|
|
|
val parent = hashMap.get("parent") as ArrayList<RelConfigEntity>
|
|
|
val children = hashMap.get("child") as MutableList<List<RelationEntity>>
|
|
|
- val relAdapter = RelationExpandAdapter(this, parent, children)
|
|
|
+ val relAdapter = RelationExpandAdapter(this@EquipDetailActivity, parent, children)
|
|
|
relAdapter.setOnAdd(object : RelationExpandAdapter.AddRel {
|
|
|
override fun onAdd(group: RelConfigEntity) {
|
|
|
this@EquipDetailActivity.groupRelConfigEntity = group
|