Android: getTag/setTag and IllegalArgumentException

Posted by Sparafusile on Stack Overflow See other posts from Stack Overflow or by Sparafusile
Published on 2010-03-12T18:45:06Z Indexed on 2010/03/12 18:47 UTC
Read the original article Hit count: 526

Filed under:

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 that can be used in this way. A final variable in my class wont work and neither will a hard coded value. Both threw an IllegalArgumentException. So what gives, how do you use these methods?

Spara

© Stack Overflow or respective owner

Related posts about android