Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- async
- Functional
- template
- Scala
- AES
- Clojure
- CustomTab
- type_traits
- kotlin
- ChromeTab
- SHA512
- RAII
- web
- WebView
- stringprintf
- sha256
- program
- design pattern
- haskell
- traits
- Chrono
- SHA1
- Observer
- ranges
- coroutines
- Reflect
- Android
- sprintf
- go
- c++
Archives
- Today
- Total
목록coroutines (1)
프로그래밍 검색 블로그
코틀린 비동기 async
코틀린 베타로 비동기 관련 Api 가 추가되었다 문법으로는 C#의 async/await의 코틀린식 구현이라고 볼수 있다 베타를 비동기 Api를 사용하기 위해 그레들 설정부터 보자면현재 코틀린 버전을 1.2.21 혹은 그 이상으로 맞춰준다 1ext.kotlin_version = '1.2.21'cs dependencies에 코루틴 api 를 추가한다현재는 베타라서 필요하지만 미래에는 필요 없을수도 있다 1compile "org.jetbrains.kotlinx:kotlinx-coroutines-core:0.22.2"cs 1. 비동기 API async 는 비동기로 동작하고 블럭 안에 있는 것을 비동기로 수행한다간단하게 textview 글자를 바꿔주는걸로 시작해본다 launch 도 비슷한 기능을 수행하지만 코틀린..
Android
2018. 2. 16. 19:41