I am new to android. I am trying to develop an app using android fragments. Initially it works nicely.Once i close and reopen the app means fragment not loaded. If anyone knows please let me.
i tried following code
FragmentManager fm = getFragmentManager();
FragmentTransaction ft = fm.beginTransaction();
MapFragment llf = new MapFragment();
ft.replace(R.id.id_new_map, llf);
ft.commit();
but not working.