Skip to main content

GridView

The main grid component which abstracts all the grid handling logic and renders it for you.

gridView = GridView(showingCurrently: 9, getChildView: {
return DyteParticipantTileContainerView()
})

To setup the grid inside kotlin/Java code do as follows

self.gridView.settingFramesForPluginsActiveInLandscapeMode(visibleItemCount: 7,
animation: true) { finish in
completion()
}
//Get a peerView
if let peerView = self.gridView.childView(index: index)?.tileView {
peerView.pinView(show: show)
}