增加要素是否捕捉控制参数

This commit is contained in:
qiji4215
2023-09-01 10:26:45 +08:00
parent 8fe236922e
commit 94c9b8fd4f
10 changed files with 150 additions and 15 deletions

View File

@@ -475,7 +475,7 @@ class MainViewModel @Inject constructor(
point.longitude,
point.latitude
),
buffer = 1.0
buffer = 1.0, catchAll = false
)
if (itemList.size == 1) {

View File

@@ -23,6 +23,7 @@ class ItemAdapter(private var itemListener: ((Int, RenderEntity) -> Unit?)? = nu
val binding = holder.viewBinding as AdapterItemBinding
var renderEntity = data[position]
binding.root.isSelected = selectPosition == position
binding.itemIndex.text = (position+1).toString()
binding.name.text = DataCodeEnum.findTableNameByCode(renderEntity.code)
binding.root.setOnClickListener {
if (selectPosition != position) {