blob: 94ceda01a2f3fb9d3274fd9418d8b8564126f865 [file] [log] [blame]
<html devsite="true">
<head>
<title>GridCells</title>
{% setvar book_path %}/reference/androidx/_book.yaml{% endsetvar %}
{% include "_shared/_reference-head-tags.html" %}
</head>
<body>
<div id="metadata-info-block"></div>
<h1>GridCells</h1>
<p>
<pre>@<a href="/reference/androidx/compose/foundation/ExperimentalFoundationApi.html">ExperimentalFoundationApi</a><br>public class <a href="/reference/androidx/compose/foundation/lazy/GridCells.html">GridCells</a></pre>
</p>
<div class="devsite-table-wrapper"><devsite-expandable><span class="expand-control jd-sumtable-subclasses">Known direct subclasses
<div class="showalways" id="subclasses-direct"><a href="/reference/androidx/compose/foundation/lazy/GridCells.Adaptive.html">GridCells.Adaptive</a>, <a href="/reference/androidx/compose/foundation/lazy/GridCells.Fixed.html">GridCells.Fixed</a></div>
</span>
<div id="subclasses-direct-summary">
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<tbody class="list">
<tr>
<td width="40%"><code><a href="/reference/androidx/compose/foundation/lazy/GridCells.Adaptive.html">GridCells.Adaptive</a></code></td>
<td>
<p>Combines cells with adaptive number of rows or columns.</p>
</td>
</tr>
<tr>
<td width="40%"><code><a href="/reference/androidx/compose/foundation/lazy/GridCells.Fixed.html">GridCells.Fixed</a></code></td>
<td>
<p>Combines cells with fixed number rows or columns.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</devsite-expandable> </div>
<hr>
<p>This class describes how cells form columns in vertical grids or rows in horizontal grids.</p>
<h2>Summary</h2>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%"><h3>Nested types</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td>
<div><code>@<a href="/reference/androidx/compose/foundation/ExperimentalFoundationApi.html">ExperimentalFoundationApi</a><br>public final class <a href="/reference/androidx/compose/foundation/lazy/GridCells.Adaptive.html">GridCells.Adaptive</a> extends <a href="/reference/androidx/compose/foundation/lazy/GridCells.html">GridCells</a></code></div>
<p>Combines cells with adaptive number of rows or columns.</p>
</td>
</tr>
<tr>
<td>
<div><code>@<a href="/reference/androidx/compose/foundation/ExperimentalFoundationApi.html">ExperimentalFoundationApi</a><br>public final class <a href="/reference/androidx/compose/foundation/lazy/GridCells.Fixed.html">GridCells.Fixed</a> extends <a href="/reference/androidx/compose/foundation/lazy/GridCells.html">GridCells</a></code></div>
<p>Combines cells with fixed number rows or columns.</p>
</td>
</tr>
</tbody>
</table>
</div>
<div class="devsite-table-wrapper">
<table class="responsive">
<colgroup>
<col width="40%">
<col>
</colgroup>
<thead>
<tr>
<th colspan="100%"><h3>Protected constructors</h3></th>
</tr>
</thead>
<tbody class="list">
<tr>
<td>
<div><code><a href="/reference/androidx/compose/foundation/lazy/GridCells.html#GridCells()">GridCells</a>()</code></div>
</td>
</tr>
</tbody>
</table>
</div>
<div class="list">
<h2>Protected constructors</h2>
<div class="api-item"><a name="GridCells--"></a><a name="gridcells"></a>
<h3 class="api-name" id="GridCells()">GridCells</h3>
<pre class="api-signature no-pretty-print">protected&nbsp;<a href="/reference/androidx/compose/foundation/lazy/GridCells.html#GridCells()">GridCells</a>()</pre>
</div>
</div>
</body>
</html>