增加要素是否捕捉控制参数
This commit is contained in:
@@ -475,7 +475,7 @@ class MainViewModel @Inject constructor(
|
||||
point.longitude,
|
||||
point.latitude
|
||||
),
|
||||
buffer = 1.0
|
||||
buffer = 1.0, catchAll = false
|
||||
)
|
||||
|
||||
if (itemList.size == 1) {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user