Change button's text programmatically in android studio problem

后端 未结 0 422
一整个雨季
一整个雨季 2020-12-21 16:50

Why this code is wrong? It doesn\'t accept the setText funcion on a button.

findViewById(getResources().getIdentifier("button" + Integer.toString(i)         


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