etc
-
[코틀린 강의 정리]_loop sectionetc/코틀린_안드로이드 2021. 9. 28. 16:28
>>18 .kotlin Loopsfundamental : loop is fundamental in programming cause we control whole program by using loop to make different situation by same code by itteration of code and end predetermined under conditions using as like if or conditon statment :. if 문과 조건문을 조합한 반복문은 프로그램을 우리가 원하는 방향으로 만드는데 중요한 요소이다. 반복문은 크게 3 가지 while, do while , for 문으로 소개를 한다. simple way 1. while if the experssions eva..
-
uppercase(),버전 확인 문제etc/코틀린_안드로이드 2021. 9. 27. 17:50
유데미 코틀린 강의를 듣다가 문제가 생겼다. uppercase() 를 사용하고 싶지만 코틀린에서 읽지를 못했다. >> 문제 : uppercase 호출 불가 : unresolved reference > 코틀린 파일 문제 > touppercase 는 잘됨 null 처리문제 > x 버전 체크 https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.text/uppercase.html/ uppercase - Kotlin Programming Language kotlinlang.org 들어가 확인해보면 1.4 에는 uppercase() 가 없다 ! 추가 검색후 나온사실 이제 문자열과 문자의 대소문자를 변경하여 로케일의 구애를 받지 않는 새로운 API가 제공됩니다: upperca..