FragmentTransaction is an API for performing a set of Fragment operations.
I'm getting this error while trying to launch a Fragment from a first Fragment : java.lang.NullPointerException: Attempt to invoke …
android nullpointerexception fragment fragmenttransactionI'm having a problem with Navigation Drawer , it is too slow, the solution I'm looking for is to close the …
java android navigation-drawer fragmenttransactionI'm fairly new to Android development and now running in to weird behaviour. I have an empty FrameLayout to be …
android android-fragments fragmenttransactionAny thoughts on the following code? In my testing I've found the replaced fragment isn't destroyed and the instance is …
android android-fragments fragmenttransactionThe new commitNow() method added in Android N and support library version 24 has a limited and a bit confusing documentation. …
android fragmenttransactionI want to be able to reverse a replace FragmentTransaction by using addToBackStack(): FragmentTransaction fragmentTransaction = getActivity().getSupportFragmentManager().beginTransaction(); Fragment scheduleFragment = …
android android-fragments fragmenttransactionI'm developing an application which uses the navigation drawer pattern (With DrawerLayout). Each click on a drawer's item, replaces the …
android android-fragments navigation-drawer fragmenttransaction drawerlayoutI have this neat function: private void addMapFragment(){ if(!mapFragment.isAdded()){ FragmentTransaction ft = getFragmentManager().beginTransaction(); ft.add(R.id.mapContainer, …
android fragment fragmenttransactionThis is my first post, so I apologize in advance... I'm trying to compile a simple Drawer sample/practice app. …
android android-fragments navigation-drawer fragmenttransaction instantiationexceptioni have 5 fragments and I use the following code to setCustomAnimations for FragmentTransaction: FragmentTransaction trans = getFragmentManager().beginTransaction(); trans.setCustomAnimations(android.…
android fragmenttransaction