FragNav - An Android library for managing multiple stacks of fragments

  •        19

Android library for managing multiple stacks of fragments (e.g., Bottom Navigation , Navigation Drawer). This library does NOT include the UI for bottom tab bar layout. For that, I recommend either BottomBar (which is the library shown in the demo) or AHBottomNavigation. This library helps maintain order after pushing onto and popping from multiple stacks(tabs). It also helps with switching between desired tabs and clearing the stacks. With Material Design Bottom Navigation pattern, and other tabbed navigation, managing multiple stacks of fragments can be a real headache. The example file shows best practice for navigating deep within a tab stack.

https://github.com/ncapdevi/FragNav

Tags
Implementation
License
Platform

   




Related Projects

AdaptableBottomNavigation - A simpler way for implementing the Bottom Navigation View on Android

  •    Java

AdaptableBottomNavigationView - The Bottom Navigation View for displaying navigation items in a bar at the bottom of the screen. This view extends the BottomNavigationView from the Design Support Library, so the two classes are easily interchangable in your projects. FragmentStateAdapter / FragmentAdapter - An abstract adapter that allows you to create an adapter for displaying fragments within the ViewSwapper. These classes are the same as the implementations found within the Android Framework, agan with a few tweaks to better match the behaviour of the View Swapper component.

AndroidNavigation - A library managing navigation, nested Fragment, StatusBar, Toolbar for Android

  •    Java

A library managing nested Fragment, translucent StatusBar and Toolbar for Android. You could use it as a single Activity Architecture Component.

ThirtyInch - a MVP library for Android favoring a stateful Presenter

  •    Java

This library adds Presenters to Activities and Fragments. It favors the stateful Presenter pattern, where the Presenter survives configuration changes and dumb View pattern, where the View only sends user events and receives information from the Presenter but never actively asks for data. This makes testing very easy because no logic lives in the View (Activity, Fragment) except for fancy animations which anyways aren't testable. The perfect distance to the Android Framework is approximately thirty inches, the average length of the human arm, shoulder to fingertips.

android-lifecycle - A diagram of the Android Activity / Fragment lifecycle

  •    

After struggling with trying to figure out how various pieces fit together, I've done some research and put together the complete Android Activity/Fragment lifecycle chart. This has two parallel lifecycles (activities and fragments) which are organized vertically by time. Lifecycle stages will occur in the vertical order in which they're displayed, across activities and fragments. In this way, you can see how your fragments interact with your activities. If you see any discrepancies or errors in this diagram, please submit a pull request or contact steve@staticfree.info.

AboutLibraries - AboutLibraries is a library to offer some information of libraries.

  •    Java

The AboutLibraries library allows you to easily create an used open source libraries fragment/activity within your app. As an extra feature you can also add an about this app section. Most modern apps feature a "Used Library"-section, which requires information about those respective libs. As it gets annoying to always copy those strings to your app, I've developed this small helper library to provide the required information.


ChangeDetection - Automatically track websites changes on Android in background.

  •    Kotlin

This app also showcases all the Android Architecture Components working together: Room, ViewModels, LiveData, Paging, WorkManager and Navigation. The app uses a Model-View-ViewModel (MVVM) architecture for the presentation layer. Each of the fragments corresponds to a MVVM View. The View and ViewModel communicate using LiveData and general good principles.

MaterialDrawerKt - A Kotlin DSL wrapper around the mikepenz/MaterialDrawer library.

  •    Kotlin

Create navigation drawers in your Activities and Fragments without having to write any XML, in pure Kotlin code, with access to all the features of the original library: all sorts of menu items, badges, account headers, and more. You can find the sample app in the Play Store, and its source code in the app module of the project.

PagedHeadListView - Android boosted ListView supporting paginated header with a new material page indicator

  •    Java

If you are looking for a listview with a paged header this is the dependency you are looking for. With PagedHeadListView you will be able to set your own fragments as new pages for the header, and a brand new indicator will be added automatically. You can play with all the custom attributes provided with the library to set indicator colors and position, ViewPager drag animation, and touch behaviour for the header view. PagedHeadListView supports API 11 - Android SDK 3.0 (HoneyComb) as minimum. This lib brings a custom ListView class called PagedHeadListView to the final user. Use it to integrate the component in your own Android application. You will not need to create your own code with FragmentStatePagerAdapter or ViewPager by yourself for creating this cool user experience, as the library does the boring work for you.

MaterialDrawer - The flexible, easy to use, all in one drawer library for your Android project.

  •    Java

If any (or all) of these questions seem familiar, the MaterialDrawer is the perfect library for you all. Never waste your time again. It provides you with the easiest possible implementation of a navigation drawer for your application. There is a Header with profiles (AccountHeader), a MiniDrawer for Tablets (like Gmail), provide custom DrawerItems, custom colors, custom themes, ... No limits for customizations.

AndroidViewModel - Separating data and state handling from Fragments or Activities without lots of boilerplate-code

  •    Java

This library served it's purpose for over 3 years. We believe that Google's Android Architecture Components are the preferred setup now for new projects. INLOOPX is dedicated to continue maintaining this library (no deadline on support end). So rest assured that your existing projects don't need be migrated from AndroidViewModel because of this deprecation. We are only stopping new feature development and don't recommend using it for new projects. Separating data and state handling from Fragments or Activities without lots of boilerplate-code. Reducing them to simple dumb views.

dart - Extras binding and intent builders for Android apps.

  •    Java

Extra "binding" library & intent builders for Android. Dart & Henson (DH) uses annotation processing to bind intent's extras to pojo fields, and to generate intent builders via a fluent API. Dart and Henson is a an Android Library that structures the navigation layer of your apps. It helps to create intents and consume them in a structured way. We believe it's the best way to organize your navigation layer, and make it less error-prone and easier to maintain.

blockly-android - Blockly for Android

  •    Java

Blockly is a library for building drag-and-drop visual editors for JavaScript and other programming languages. Blockly for Android is a developer preview of Blockly's editor built with standard Android views and fragments, offering more responsive touch performance and easier integration in Android apps.Get started building your own Android app using Blockly.

simple-stack - [ACTIVE] Simple Stack, a backstack library for simpler navigation between views, fragments, or whatevers

  •    Java

Similarly to square/flow, Simple Stack allows you to represent your application state in a list of immutable data classes. The library also allows easy backstack persisting through a delegate class, which handles configuration changes and process death.

HanselAndGretel - Android library providing bread crumbs to the support library fragments.

  •    Java

Android library providing bread crumbs to the support library fragments.

easypermissions - Simplify Android M system permissions

  •    Java

EasyPermissions is a wrapper library to simplify basic system permissions logic when targeting Android M or higher. Optionally, for a finer control, you can have your Activity / Fragment implement the PermissionCallbacks interface.

react-router-navigation - ⛵️ A complete navigation library for React Native and React Router

  •    Makefile

react-router-navigation is still a work in progress. That means it's extremely likely that you'll encounter issues. Always consider it. react-router-navigation provides tools to navigate between multiple screens with navigators or tab views. This library is based on react-router, react-navigation, and react-native-tab-view.

WeatherLib - Android Weather Library: android weather lib to develop weather based app fast and easily

  •    Java

Android Weather Library: android weather lib to develop weather based app fast and easily

Android-Tips - An awesome list of tips for Android.

  •    Java

This is an awesome list of tips for android. If you are a beginner, this list will be the first choice for you when you have a difficult time.