android - Problems accessing my strings.xml items.... i got numbers and not the string value -
when java class try acces item of strings.xml file, got numbers, mem position, , dont string value of item
for example:
if (parent.getitematposition(pos).tostring().equals(r.string.perdayspermission)) this code: r.string.perdayspermission haves give me "per days", gives me extrange number: 234552634
why?
use getstring() e.g.,
if (parent.getitematposition(pos).tostring().equals(getstring(r.string.perdayspermission)))
Comments
Post a Comment