I have a Fragment that has a viewpager full of custom views.
When returning from my Settings Activity, the MainActivity gets the activity result and (if the language changed), calls recreate().
When debugging, I see the custom views going through onAttachedToWindow() and onDetachedToWindow() and finally ending at onAttachedToWindow(), but they never call onDraw(Canvas c) again, even if I call invalidate() on the view pager or the custom view itself, so the custom views are not showing up on the page.
I've also tried calling setRetainInstance(true); in the onCreateView for the Fragment.
What else should I try?