ViewRenderer

fun ViewRenderer(viewProperties: List<ViewProperties>, resourceData: ResourceData, navController: NavController, decodedImageMap: SnapshotStateMap<String, Bitmap>, areViewPropertiesInterpolated: Boolean = false)

This function takes a list of ViewProperties and build views recursively as configured in the properties. The content used in the views is provided via resourceData class.

Note that by default the view render is not rendered in a view group like a Column/Row. This is to allow us to call the function recursively for nested view group layout. Therefore when using the this layout, provide a parent layout (usually Row/Column) so that the views can be rendered appropriately otherwise the generated view group will be rendered one on top of the other.