2018년 9월 11일 화요일
Kotlin 코딩팁
http://rockdrumy.tistory.com/1378?category=772380
Related Posts:
Kotlin Ktlint Kotlin Ktlint Ktlint Ktlint 에디터상에서 어시스턴스로 부터 lint 오류를 발견하기 위해선 ktlint 플러그인이 필요하다. https://plugins.jetbrains.com/plugin/15057-ktlint-unofficial- gradle에서 ktlint를 실행하기 위해서는 jlleitschuh-ktl… Read More
[Kotlin] try, catch 대신 runcatch 참고 사이트 : https://uchun.dev/runCatching%EC%9D%84-%EC%9D%B4%EC%9A%A9%ED%95%9C-kotlin%EC%97%90%EC%84%9C-exception%EC%B2%98%EB%A6%AC-%EB%B0%A9%EB%B2%95/kotlin 에서 기존의 try catch 도 가능하지만 val fruitName = try { &… Read More
[Android] Jetpack Composehttps://www.youtube.com/watch?v=U5BwfqBpiWU Today I would like to tell you about jetpack compose. If you haven't heard about it, Jetpack compose is android's next generation UI Toolkit, written entirely in Kotlin to buil… Read More
[Android] Kotlin & Android 기초 강좌 -작업중-작성중임… Read More
[Android] View Binding 으로 뷰객체 쉽게 얻어오기 (android studio 3.6 부터) Kotlin 에서 무슨 익스텐션(synthetic binding) 써서 findViewById 대신 간편하게 뷰객체를 사용하던적이 있었다.근데 이게 deprecated 되어버려서 쓸수없게되었다.대신 View Binding이라는게 있어서 함 써볼라한다.일단 build.gradle 에 viewBinding기능 쓴다고 선언해야한다.android { ... buildFeatures … Read More
0 comments:
댓글 쓰기