is it reasonable to pass a Drawable or Bitmap across via onRetainNonConfigurationInstance() to save the expense of calling res.getDrawable() again?
is it reasonable to pass a Drawable or Bitmap across via onRetainNonConfigurationInstance() to save
Share
You should not pass drawables. Android may choose different drawables from resources after changing orientation.
In my project i am passing only data, which i loaded from internet.
http://developer.android.com/resources/articles/faster-screen-orientation-change.html
Here is written:
Sorry for my English =)