I know you can set the int id of a View using the following:
View.setId(int id);
But is there a way to use a string instead? I know what I could do is declare an array of arrays and each array contains a string and an int associated with that string and if the string is called then it gets the int associated with that string, but is there a simpler way to do it to set the id a as a string?
Also, when a View is created during runtime on the app, does it automatically generate a unique int id for it? Thanks for the help.