blob: 9f6e7eb7c1bc8f3dfe1fa5e6bd1bb94352d127e7 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<templateSet group="AndroidComposePreview">
<template name="prev"
value="@androidx.compose.ui.tooling.preview.Preview&#10;@androidx.compose.runtime.Composable&#10;private fun $NAME$() {&#10;$END$&#10;}"
description="Create @Preview composable function"
toReformat="true"
toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true"/>
<context>
<option name="ANDROID_KOTLIN" value="true" />
<option name="ANDROID_KOTLIN_COMMENT" value="false"/>
</context>
</template>
<!-- region Data sources -->
<template name="prevCol"
value="class $NAME$: CollectionPreviewParameterProvider&lt;$TYPE$&gt;(listOf($DATA$))"
description="Creates a CollectionPreviewParameterProvider"
toReformat="true"
toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true"/>
<variable name="TYPE" expression="" defaultValue="" alwaysStopAt="true"/>
<variable name="DATA" expression="" defaultValue="" alwaysStopAt="true"/>
<context>
<option name="ANDROID_KOTLIN" value="true" />
<option name="ANDROID_KOTLIN_CLASS" value="false"/>
<option name="ANDROID_KOTLIN_COMMENT" value="false"/>
<option name="ANDROID_KOTLIN_EXPRESSION" value="false"/>
<option name="ANDROID_KOTLIN_OBJECT_DECLARATION" value="false"/>
<option name="ANDROID_KOTLIN_STATEMENT" value="false"/>
</context>
</template>
<!-- endregion -->
<template name="prevMul"
value="@androidx.compose.ui.tooling.preview.PreviewScreenSizes&#10;@androidx.compose.runtime.Composable&#10;private fun $NAME$() {&#10;$END$&#10;}"
description="Create Multipreview composable function"
toReformat="true"
toShortenFQNames="true">
<variable name="NAME" expression="" defaultValue="" alwaysStopAt="true"/>
<context>
<option name="ANDROID_KOTLIN" value="true" />
<option name="ANDROID_KOTLIN_COMMENT" value="false"/>
</context>
</template>
</templateSet>