Skip to content

riyanirawan007/FragmentSwitcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

FragmentSwitcher

Simple Helper For Switching Between Android Fragments

Usage Example

//if you use extra bundle
Bundle bundle=new Bundle();
bundle.putString(ExtraKeys.EXTRA_MOVIE_LIST_STATE,ExtraKeys.MOVIE_LIST_STATE_TOP_RATED);

FragmentSwitcher.getInstance().withContext(context)
                              .withContainer(R.id.home_fragment_container)
                              .withFragmentManager(getActivity().getSupportFragmentManager())
                              .withFragment(new DetailMovieFragment())
                              .withExtraBundle(bundle,null)
                              .setToBackStack(true)
                              .commitReplace();

About

Simple Helper For Switching Between Android Fragments

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages