feat: 开始组装 opt

This commit is contained in:
2025-12-16 15:58:37 +08:00
parent 644c937476
commit 2664cc7c69
7 changed files with 104 additions and 53 deletions

View File

@@ -92,6 +92,8 @@ class IntExpAssembleStartActivity :
)
binding.rvWaybillList.layoutManager = LinearLayoutManager(this)
binding.rvWaybillList.adapter = waybillAdapter
// 添加点击监听器
binding.rvWaybillList.addOnItemClickListener(this)
}
/**
@@ -117,6 +119,7 @@ class IntExpAssembleStartActivity :
override fun onItemClick(position: Int, type: Int) {
when (type) {
0 -> viewModel.onPositionItemClick(position) // 组装位置点击
1 -> viewModel.onWaybillItemClick(position) // 运单列表点击
else -> {}
}
}