How do I add views dynamically through Kotlin code

后端 未结 0 1119
时光取名叫无心
时光取名叫无心 2020-12-16 03:28

So I need to add views to my constraint layout for each item in a list. The code I have right now is:

for (i in 0..hikes.size - 1) {
  var parentLayout = find         


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