Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 1 | <html devsite="true"> |
| 2 | <head> |
| 3 | <title>GridCells.Fixed</title> |
| 4 | {% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} |
| 5 | {% include "_shared/_reference-head-tags.html" %} |
| 6 | </head> |
| 7 | <body> |
Tiem Song | 6f896de | 2022-11-03 14:55:52 -0700 | [diff] [blame^] | 8 | <div id="metadata-info-block"></div> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 9 | <h1>GridCells.Fixed</h1> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 10 | <p> |
Owen Gray | 22f2057 | 2022-08-08 13:48:02 -0400 | [diff] [blame] | 11 | <pre>@<a href="/reference/kotlin/androidx/compose/foundation/ExperimentalFoundationApi.html">ExperimentalFoundationApi</a><br>class <a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.Fixed.html">GridCells.Fixed</a> : <a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.html">GridCells</a></pre> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 12 | </p> |
| 13 | <div class="devsite-table-wrapper"> |
| 14 | <table class="jd-inheritance-table"> |
| 15 | <tbody> |
| 16 | <tr> |
Owen Gray | 7fcd36c | 2022-07-12 17:25:02 -0400 | [diff] [blame] | 17 | <td colspan="3"><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">kotlin.Any</a></td> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 18 | </tr> |
| 19 | <tr> |
| 20 | <td class="jd-inheritance-space"> ↳</td> |
Owen Gray | 7fcd36c | 2022-07-12 17:25:02 -0400 | [diff] [blame] | 21 | <td colspan="2"><a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.html">androidx.compose.foundation.lazy.GridCells</a></td> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 22 | </tr> |
| 23 | <tr> |
| 24 | <td> </td> |
| 25 | <td class="jd-inheritance-space"> ↳</td> |
Owen Gray | 7fcd36c | 2022-07-12 17:25:02 -0400 | [diff] [blame] | 26 | <td colspan="1"><a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.Fixed.html">androidx.compose.foundation.lazy.GridCells.Fixed</a></td> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 27 | </tr> |
| 28 | </tbody> |
| 29 | </table> |
| 30 | </div> |
| 31 | <hr> |
| 32 | <p>Combines cells with fixed number rows or columns.</p> |
Paweł Marks | 4724d6f | 2021-12-22 17:11:51 +0100 | [diff] [blame] | 33 | <p>For example, for the vertical <code><a href="/reference/kotlin/androidx/compose/foundation/lazy/package-summary.html#LazyVerticalGrid(androidx.compose.foundation.lazy.GridCells,androidx.compose.ui.Modifier,androidx.compose.foundation.lazy.LazyListState,androidx.compose.foundation.layout.PaddingValues,kotlin.Function1)">LazyVerticalGrid</a></code> Fixed(3) would mean that there are 3 columns 1/3 of the parent wide.</p> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 34 | <h2>Summary</h2> |
| 35 | <div class="devsite-table-wrapper"> |
| 36 | <table class="responsive"> |
| 37 | <thead> |
| 38 | <tr> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 39 | <th colspan="100%"><h3>Public constructors</h3></th> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 40 | </tr> |
| 41 | </thead> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 42 | <tbody class="list"> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 43 | <tr> |
| 44 | <td> |
| 45 | <div><code><a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.Fixed.html#Fixed(kotlin.Int)">Fixed</a>(count: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>)</code></div> |
| 46 | </td> |
| 47 | </tr> |
| 48 | </tbody> |
| 49 | </table> |
| 50 | </div> |
| 51 | <div class="devsite-table-wrapper"> |
| 52 | <table class="responsive"> |
| 53 | <thead> |
| 54 | <tr> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 55 | <th colspan="100%"><h3>Public properties</h3></th> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 56 | </tr> |
| 57 | </thead> |
Andrea Falcone | 80f1a8f | 2022-08-23 11:22:33 -0400 | [diff] [blame] | 58 | <tbody class="list"> |
Tiem Song | 6fed3de | 2021-06-14 14:48:10 -0700 | [diff] [blame] | 59 | <tr> |
| 60 | <td width="40%"><code><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></code></td> |
| 61 | <td> |
| 62 | <div><code><a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.Fixed.html#count()">count</a></code></div> |
| 63 | </td> |
| 64 | </tr> |
| 65 | </tbody> |
| 66 | </table> |
| 67 | </div> |
| 68 | <h2>Public constructors</h2> |
| 69 | <div><a name="Fixed-kotlin.Int-"></a><a name="fixed"></a> |
| 70 | <h3 class="api-name" id="Fixed(kotlin.Int)">Fixed</h3> |
| 71 | <pre class="api-signature no-pretty-print"><a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.Fixed.html#Fixed(kotlin.Int)">Fixed</a>(count: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a>)</pre> |
| 72 | </div> |
| 73 | <h2>Public properties</h2> |
| 74 | <div><a name="getCount()"></a><a name="setCount()"></a><a name="getCount--"></a><a name="setCount--"></a> |
| 75 | <h3 class="api-name" id="count()">count</h3> |
| 76 | <pre class="api-signature no-pretty-print">val <a href="/reference/kotlin/androidx/compose/foundation/lazy/GridCells.Fixed.html#count()">count</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></pre> |
| 77 | </div> |
| 78 | </body> |
| 79 | </html> |