When using Jetpack view binding, should I keep referring to ids through R.id.something, or use binding.something.id instead?

前端 未结 0 1811
长情又很酷
长情又很酷 2021-01-15 19:27

I want to retrieve the id of a Layout inside of one of my layout xmls, and it\'s possible to use both R.id.* and the binding for this - details below. Which is the preferred

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