If i have a list of data and im programatically cr...
# compose
m
If i have a list of data and im programatically creating compose based on the size of that data, how can compose automatically fit those composables on the screen? example:
Copy code
@Composable
fun MainScreen() {
  val data: List<Viewer> ...list of viewers
  Row() {
    data.forEach {
      // this seems to not resize itself if there are two or more of this widget
      // how can I make sure that n number of ViewerCameraWidget gets resized correctly
      // to fit on screen?
      ViewerCameraWidget() //uses android view
     }
  }
}
z
Give each view a weight of 1?
m
This worked! Thank you so much @Zun !!!