GridLayout

• This is a custom UIView object that is organizing views inside of it horizontally or vertically.

Syntax:

• Cell type structure is taking paramaters by using GridBuilder which is an implementation of resultBuilder attribute.

Cell Types:

• Auto -> Automatically resizes the area that is including views. • Constant -> Sets the size of the area to the value that is provided • Expanded -> Expands the view area to the remaining area propotional to the total defined Expanded cell values.

Code examples:

Image-Title-Body Example:

Loop Example: Dama View:

GitHub

View Github