If you don't have a Github account
, you can join our Telegram group
This page is not suitable for non-developers.
This page assumes you have Kotlin
and Android
development environments on your computer.
Kotlin
files are named using kebab-case
If a Kotlin file contains only one class/interface/object, use PascalCase for naming
Try to avoid writing platform-specific functions unless necessary.
When submitting a PR, please ensure your code can run on all targets. Some APIs can be found in commonMain
, but may throw errors when compiled to specific platforms.
Resource files use SvgToCompose
for naming, and currently icons can be placed in composeApp/src/commonMain/kotlin/top/kagg886/pmf/ui/component/icon
and exposed in the root
scope.
Add comments in crucial places to aid understanding
Squash and merge
method.