Everytime I rotate the phone´s screen, the adapter of a gridview gets reloaded.
I have this on my manifest (android:configChanges="orientation|keyboardHidden|keyboard|screenSize") and I know it´s working as it should: the oncreate() is not called(where the adapter is normally set) and the onConfigurationChanged is called(where I have just a simple toast for verification).
The problem is, I don´t know from where(method, activity,process, etc), the adapter is called, used, reset and reloaded to the gridview everytime I rotate phone.
I just need to find a way for the adapter to be set only in the onCreate(), when the activity is first created.. nothing should happen when the phone is rotated.... that´s all...
I use the same thing for other activities where there are not gridviews and it works perfectly, just using manifest´s code shown above....
Any help deeply appreciated...