What is the algorithm to generate R. Will the param in R be always the same?
SharedPreferences preference = getPreference();
Object object = preference.getString(R.id.xxx);
I want to know that the value of R.id.xxx will change or not.
-----------------------try to ask the question more clearly-----------------
v1 = R.id.listview;
then clean the project;
v2 = R.id.listview;
will v1 = v2 all the time?
I tested like this. Print the R.id.xxx,clean project and print the R.id.xxx again. The result is the same.
But I don't know in different IDE, that value of R.id.xxx will change(the AAPT version is all the same or not).