Working example of Dynamic Feature Modules (DFMs) with Circuit #1519
JohnBuhanan
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
@ZacSweers Maybe a proper
DynamicFeatureNavigatorcould become a Circuit artifact instead of my hacks?Video of DFM:
DFMs.mp4
My nephew and I made a working example of DFMs with Circuit on a branch named
dynamicin this project:https://github.com/JamesBuhanan/Songify/tree/dynamic
Here are the main points:
better-dynamic-features(BDF) from CashApp.EntryPointActivity, and use them to build an instance ofCircuit.DynamicNavigatorthat is hot garbage, but it works.SplitCompat.install(). I don't know what is happening or if this can be automated somehow...P.S.- The guys at CashApp said I should just pass dagger Components back or something? I don't grok.
cashapp/better-dynamic-features#126 (comment)
Beta Was this translation helpful? Give feedback.
All reactions