{"repo":"Fueled/flowr","free":true,"listed":false,"github":"https://github.com/Fueled/flowr","clone":"git clone https://github.com/Fueled/flowr.git","description":"FlowR is a wrapper class around the Fragment Manager.","language":"Java","stars":121,"topics":["fragments","android","android-library","fragment-transactions","fragment","navigation","deep-linking"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"FlowR FlowR is a wrapper class around the Fragment Manager. It's mainly used to navigate between different fragments easily while providing a wide range of functionality. The following are the functionalities provided by the Flowr: Easily navigate between different fragments. Ability to open fragments for result. Keeping the state of the activity correctly synced depending on the custom values specified by the fragment currently visible such as the screen orientation and navigation bar color. Install Add it in your root build.gradle at the end of repositories: Then add the dependency to the application module: Getting Started Each new activity will have its own Flowr instance, the Flowr lifecycle should be bound to the activity, meaning it should be destroyed and created with the activity. For the activity to work with the Flowr we need to make sure that it implements the interface FlowrScreen . While creating a new Flowr instance these are the required parameters: containerId : this is the id for the layout that the Flowr will use to display the fragments inside. FlowrScreen : in most cases this will be your activity with the interface FlowrScreen implemented, this will provide the Flowr with access to the activity FragmentManager and the ability to set values such as the screen orientation and navigation bar color depending on the fragment currently being displayed. FragmentsResultPublisher : this is used to publish results from fragments that where opened for results. And ","default_branch":null,"files":null,"tree":[],"storefront":"/r/Fueled","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Fueled/flowr/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}