Member-only story
Learning Android Development
Enable Composable Views Sharing Across Modules Without Dependency Constraint
An Aligned Autonomy Scaling Mobile Development Approach
Imagine you have multiple teams working on different screens within your app, with each team responsible for its own screen. Ideally, these screens should be completely independent from one another. However, there are situations where one team may need to load a view created by another team, as shown below.
This article will explore how to achieve this in Jetpack Compose, enabling seamless cross-sharing of views without dependencies.
I’ll also provide insights on implementing a similar approach in SwiftUI in the article below
1. Cross Tab View Sharing
Here’s a scenario involving two screens, each with multiple tabs. Each screen manages its own set of tabs, except for one tab that belongs to another team.