access layout view that was added multiple times using view binding

后端 未结 0 1382
长发绾君心
长发绾君心 2020-12-08 18:49
private fun onPositionSelected(position: Int) {
    for (i in 0 until binding.layout.childCount) {
        if (position == i) {
            binding.layout.getChildAt         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题