Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decorating feature showing and updating offline snackbar #189

Merged
merged 5 commits into from
Oct 12, 2019

Conversation

jraska
Copy link
Owner

@jraska jraska commented Oct 12, 2019

  • This is example how to add feature to the whole app with decoration and using plugin based architecture.

  • Dependencies are added through NetworkStatusModule and instance of OnAppCreate. The app has a collection of these.

  • Functionality uses ActivityLifecycleCallbacks. If you use fragments, same solution will work with androidx.fragment.app.FragmentManager.FragmentLifecycleCallbacks

  • Demonstration of Easy to remove feature. The only thing to do would be removing Gradle module dependency from application module and remove NetworkStatusModule from AppComponent. App will compile and run without the feature

@jraska jraska merged commit 633f1b2 into master Oct 12, 2019
@jraska jraska deleted the decorating_feature branch October 12, 2019 22:00
@jraska jraska added this to the 0.22.1 milestone Mar 19, 2021
@jraska
Copy link
Owner Author

jraska commented Mar 19, 2021

This PR was released with 0.22.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant