I am quite interested and confused both. Sometimes ago I was working on a project who has already implemented by some one. And after worked on that i found that he was using a unique number for find ID for its UI elements. Just like if we need to find id for TextView
then we write,
TextView textview = (TextView)findViewById(R.id.text);
but in that code it was like,
TextView textview = (TextView)findViewById(012345678);
something like this.I have searched a lot in project also tried out to find that number but i couldn't. In R.java
file i have also checked but there was also not. Its unique id its generated automatically as usual but i couldn't find a number in whole project.
So my question how can we use like this way? Is this possible??
TextView textview = (TextView)findViewById(012345678);
If this is possible then where we can define that id number and use it for UI elements.
Help will be appreciated!!