I\'m adding dynamically created EditTexts to a layout (onClick button method). When I rotate the screen the added edittexts disappear. How can I add them to a bundle to put them
Your can save your view data into a class or into a arraylist.
when your fragment activity will restart than you fetch data from saveinstance state in oncreate function.
Use this function setRetainInstance(true). after using thing function your fragment activity will not destroy.