Can somebody explain why the onCreate()
and onCreateView()
are being invoked so many times which increments with each orientation change?
Here
Looks like you have so many fragments there! If you define fragment in xml file you can not define "it" again in your code! There are two ways how to define fragmets: dynamiclly (in your code) and statically (in your xml)! Take a look here: http://marakana.com/s/post/1250/android_fragments_tutorial
It is really good tutorial.