/Android-Fragment-Helper

Centrailzed Class for Handling Fragments in Android

Primary LanguageJava

Fragment Helper

This is centralized class which provide some basic functionality regarding Fragments. The class facilitates developers how to attach new fragment to activity, open new fragment and pop existing Fragment(s).
This is heavily inspired from my mentor Altaf Ur Rahman.

Implementation

You can implement this class in your android project. The class uses three static methods.

1)- attachFragment, attach new fragment to activity.
2)- openNewFragment, Open new fragment from existing fragment using the id layout of fragment container. Provides developer to add this fragment to back stack.
3)- popBackStack, Close the number of fragments.

License

Fragment Helper is licensed under the Apache License 2.0.

Issues

Please report bugs, tell me about your problems or request features by creating issues on GitHub.