Koin Best Practices for Compose Multiplatform (#4)

Поділитися
Вставка
  • Опубліковано 13 січ 2025

КОМЕНТАРІ • 10

  • @AM-tv2fs
    @AM-tv2fs 28 днів тому

    just found your channel, great conent. im taking the journey of learning kotlin on my own and content like this is super singhtful and apreciated.

  • @krystianchalimoniuk434
    @krystianchalimoniuk434 Місяць тому

    Very nice tutorial about modularization, looking forward for next episodes. I'd love to see some custom gradle plugins implementation to not copy all that code to every build.gradle.kts file.

    • @Kotlearn
      @Kotlearn  Місяць тому

      Thank you, glad you're enjoying them! In practice, it's never felt that tedious to do as modules are rarely ever all created at the same time as we've done in this series. It's something I wanted to fully set up at the start so that it won't take time out of future episodes.

  • @AM-tv2fs
    @AM-tv2fs 23 дні тому

    have you considered making the navigation into a separate module? im following along but making a few changes, hopefully I dont break anything xDD. I like experimenting. thank you again for this amazing videos. really excited to keep learning.

    • @Kotlearn
      @Kotlearn  22 дні тому

      Yes, but you need to be careful creating a separate module for navigation. I'm not sure what your plan for which modules depend on which, but try to think of your app (composeApp) module as the module that coordinates the navigation between your features. The only way I'd recommend having a navigation module is if only the app module depends on it.
      The most important thing to NOT do, is have your feature modules depending on your navigation module. Try to build your feature modules as something that can be easily placed into another app that may require that feature.
      That being said, it's always worth experimenting yourself as I believe that's the best way to learn what works well for you. You can always view other samples in the future to see what's common practice.

  • @ubersticks
    @ubersticks Місяць тому

    You went from using the KMP Wizard to do a new project, added dependencies to lib.versions.toml and compose app build.gradle (which was fine) then all of a sudden features/ and is populated with build.gradles. This makes it hard to follow and definitely not showing how to do this myself on a new project...

    • @Kotlearn
      @Kotlearn  Місяць тому

      You're probably right. I'll have more of a think about how I'm structuring these episodes. Just to give you some context, this is for a project that I've already built so I have the benefit of already knowing everything that I need. That probably is resulting in me not rebuilding this in a natural way.
      Is there a specific part you struggled to follow? I can hopefully add any additional info/help into a pinned comment. This is my first time ever making tutorials of YT videos so I'm still learning 😅

    • @ubersticks
      @ubersticks Місяць тому

      Are you sure that the videos in the play list are in the correct order? Putting 1, 2, 3... in the title is recommended

    • @Kotlearn
      @Kotlearn  22 дні тому +1

      You were correct, I had the playlist ordered the wrong way round 😅. I've also added numbers to the titles and fixed the suggested video at the end of each episode.