| <?xml version="1.0" encoding="UTF-8"?> |
| <templateSet group="AndroidComposePreview"> |
| <template name="prev" |
| value="@androidx.compose.ui.tooling.preview.Preview @androidx.compose.runtime.Composable private fun $NAME$() { $END$ }" |
| 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<$TYPE$>(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 @androidx.compose.runtime.Composable private fun $NAME$() { $END$ }" |
| 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> |