05-20 13:43
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | ||||
4 | 5 | 6 | 7 | 8 | 9 | 10 |
11 | 12 | 13 | 14 | 15 | 16 | 17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 |
25 | 26 | 27 | 28 | 29 | 30 | 31 |
Tags
- MG더뱅킹정기예금
- 3rd framework
- CHAT GPT
- arm-linux-androideabi
- kotlin
- ndk r24
- java
- Andorid
- 달러예금
- ChatGPT
- EditText
- 새마을금고
- Android
- 고금리
- Swift
- 용산 호반써밋 에이디션
- ndkVersion
- gradle
- Data Binding
- Mac
- ios
- KB
- audio record
- 예금
- BindingAdapter
- 청약
- RETROFIT
- JetPack
- 사전청약
- Android Studio
Archives
- Today
- Total
pear
[android]kotlin kdoc(java doc 대체) 본문
format auto generator
install plug in KDoc-er - Kotlin Doc Generator
MAC : android studio -> preferences -> plugins
WIN : fie -> setting -> plugins
generator document
excute gralde task
gradle dokkaHtml
PATH(dokkaHtml) : ./module(app)/build/dokka
project gradle
plugins {
...
id 'org.jetbrains.dokka' version '1.6.10'
}
module(app) gradle
plugins {
...
id 'org.jetbrains.dokka'
}
android {
...
dokkaHtml.configure {
dokkaSourceSets {
named("main") {
noAndroidSdkLink.set(false)
}
}
}
}
dependencies {
...
}
write guide
kotlin home (https://kotlinlang.org/docs/kotlin-doc.html)
android developer ( https://developer.android.com/kotlin/style-guide?hl=ko )
구조
.kt 파일은 다음과 같은 순서로 구성됩니다.
- 저작권 및/또는 라이선스 헤더(선택사항)
- 파일 수준 주석
- Package 문
- Import 문
- 최상위 수준 선언
빈 줄을 하나만 사용하여 각 섹션을 구분합니다.
저작권/라이선스
파일에 저작권 또는 라이선스 헤더가 포함된 경우 맨 위에 여러 줄로 주석을 넣어야 합니다.
/*
* Copyright 2017 Google, Inc.
*
* ...
*/
KDoc 스타일 또는 한 줄 주석을 사용하지 마세요.
/**
* Copyright 2017 Google, Inc.
*
* ...
*/
// Copyright 2017 Google, Inc.
//
// ...
파일 수준 주석
use-site target '파일'을 포함하는 주석은 헤더 주석과 패키지 선언 사이에 배치됩니다.
'android > kotlin' 카테고리의 다른 글
[android] Duplicate class kotlin.collections.jdk8.CollectionsJDK8Kt found in modules by implementation version (0) | 2023.07.17 |
---|---|
[android] viewmodel binding implementation (0) | 2023.07.11 |
[android]data binding 5 - mistake error (0) | 2023.06.01 |
[android]data binding 4 - app custom attribute (0) | 2023.06.01 |
[android]data binding 1 - simple example EditText (0) | 2023.06.01 |