1

DialogFragment / orientation switch

view story
linux-howto

http://stackoverflow.com – I have a fairly simple DialogFragment. It looks something like: import android.support.v4.app.DialogFragment; public class MyDialogFragment extends DialogFragment { private String mData = "empty"; @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); Log.d(LOG_TAG, "onCreate"); setStyle(DialogFragment.STYLE_NO_TITLE, 0); // setRetainInstance(true); } @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { (HowTos)