https://kotlinlang.org logo
#appyx
Title
# appyx
m

Marc

09/15/2023, 9:19 AM
Hey! I am looking for a somewhat realistic example on how to structure an app with scopes etc. Is there any resource you could point me to? Thanks!
a

Andrei Kovalev

09/15/2023, 4:02 PM
Hey! If you’ve already read our documentation you could check out our samples https://github.com/bumble-tech/appyx/tree/1.x/samples/app
👍 1
z

Zsolt

09/15/2023, 4:53 PM
Worth noting it’s from the
1.x
branch but it shouldn’t be too different from
2.x
in the topic you’re looking for. Better sample apps for
2.x
code are coming soon too.
m

Marc

09/15/2023, 4:55 PM
I was looking at the "demos" folder which i think is essentially equivalent to "samples" in 1.x. I look forward to your further sample apps, thanks a lot for the hard work 💪 Out of curiosity, do you use any DI fw or deal with that manually?
z

Zsolt

09/15/2023, 4:58 PM
Back before Appyx, we used Dagger together with badoo/RIBs (predecessor to Appyx), however we realised it didn’t add much value over manual DI once your dependency hiearchy is well-structured in a tree anyway (as the problem was rather getting lost in a chaos of dependencies in an unstructured codebase).
m

Marc

09/15/2023, 5:01 PM
Interesting, makes sense. I am looking at how to integrate koin but maybe manual is enough. I have seen native support is pending prioritization.
But from what you say I take it that if you started an app fresh, you would say manual injection is perfectly viable
z

Zsolt

09/15/2023, 5:04 PM
Re: native support: Looks like there’s interest based on the votes, useful for us to see: https://github.com/bumble-tech/appyx/labels/integrations Re: manual injection: I think so, yes.
gratitude thank you 1
m

Marc

09/16/2023, 1:41 PM
Is there documentation about
NodeCustomisation
?
a

Andrei Kovalev

09/16/2023, 8:57 PM
I’m not sure we have it for Appyx but it’s identical to RIBS customisation
❤️ 1
m

Marc

09/17/2023, 4:57 AM
Thank you! I found no references to it in Appyx but this is very helpful.
👍 1
3 Views