Android: View.getTag/setTag and IllegalArgumentException

前端 未结 3 815
日久生厌
日久生厌 2021-02-12 23:55

Yes, I know you need a unique resource id when calling the version of these functions that requires a key, but I cannot for the life of me figure out how to create a resource id

3条回答
  •  长情又很酷
    2021-02-13 00:54

    To create resource ID, which can be used identically to the ones you set within XML (with @+id), add

    
        
    
    

    in XML in res/values/.

提交回复
热议问题