Code example for GridView

Methods: setIdsetLayoutParamssetAdaptersetHorizontalSpacingsetVerticalSpacing