Coming from C++/Qt/QML land, just got started on Kotlin/Compose about 2 weeks ago. So far so good, I believe this is a really nice and powerful library. Most difficult part to understand for me is how do you expose some of your business logic to the UI? Say I have a service for making grpc calls. How do i access the services from my Composable functions? Do I need to create some sort of Service Locator? Use Dependency injection? What is the right pattern to use for exposing backend services or adapters to the frontend?
11/17/2023, 10:12 AM
you should post your message in #compose, you will get help there 🙂