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
-
@ZacSweers Maybe a proper
DynamicFeatureNavigator
could 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
dynamic
in 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
.DynamicNavigator
that 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