You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This guide defines the custom code review and generation rules for the `android-maps-compose` project.
4
+
5
+
## Jetpack Compose Guidelines
6
+
-**API Guidelines**: Strictly follow the [Jetpack Compose API guidelines](https://github.com/androidx/androidx/blob/androidx-main/compose/docs/compose-api-guidelines.md).
7
+
-**Naming**: Composable functions must be PascalCase.
8
+
-**State Management**: Prefer library-provided state holders like `rememberCameraPositionState` or `MarkerState`.
9
+
-**Modifiers**: The first optional parameter of any Composable should be `modifier: Modifier = Modifier`.
10
+
11
+
## Kotlin Style
12
+
-**Naming**: Use camelCase for variables and functions.
13
+
-**Documentation**: Provide KDoc for all public classes, properties, and functions.
14
+
-**Safety**: Use null-safe operators and avoid `!!`.
15
+
16
+
## Project Specifics
17
+
-**Secrets**: Never commit API keys. Ensure they are read from `secrets.properties` via `BuildConfig` or similar.
18
+
-**Maps SDK**: Use the components provided in `maps-compose`, `maps-compose-utils`, and `maps-compose-widgets` rather than raw `GoogleMap` objects.
0 commit comments