본문 바로가기
반응형

IT개발23

google driver 구글 드라이브 연결 https://developers.google.com/drive/api/v3/about-sdk Introduction to Google Drive API | Google Developers The Drive REST API lets you create web apps that access files stored in Google Drive. developers.google.com 구글 드라이브 api로 할 수 있는 것 - 파일 다운로드, 업로드 할 수 있다. - 파일 검색 - 파일 공유 - 다른 저장소의 바로가기 - 애플리케이션별 데이터 저장소를 만든다 - 구글 드라이브 UI와 통합 참고 api https://github.com/gsuitedevs/android-samples/tree.. 2020. 1. 13.
Kotlin의 null 처리 https://kotlinlang.org/docs/reference/null-safety.html https://developer.android.com/kotlin/common-patterns?hl=ko 상호 운용성 (Interoperability) 코틀린이 자바의 라이브러리를 사용하는 경우가 많기 때문에, 널 처리에 대하여 주의 하여야 한다. 자바의 매개변수를 코틀린에서 참조 할 수 있도록 @Nullable, @NonNull 을 추가해 주는 것이 좋다. val param : String? !! (not-null assertion operator) param이 널일 경우 KotlinNullPointerException 이 발생 ? 를 사용하면, 다음 구문에 널 전달, Elivs 연산자를 사용해서 처리 가.. 2020. 1. 9.
코루틴 https://kotlinlang.org/docs/reference/coroutines/coroutines-guide.html Coroutines Guide - Kotlin Programming Language kotlinlang.org 코루틴은 동시 실행 설계 패턴이다. 코틀린 1.3에 추가 되었음. 기본 스레드를 차단하여 앱이 정지될 수 있는 장기 실행 작업을 관리합니다. 기본 스레드에서 네트워크 또는 디스크 작업을 안전하게 호출하는 기능을 제공 Coroutine : cooperative routine kotlinx.coroutines.* 비동기 스레드 처리 스레드가 특정 "정지 지점"에서 코루틴 실행을 중지하고 다른 작업을 수행 할 수 있다는 것이다. 나중에 코루틴을 다시 시작하거나 다른 스레드가 .. 2020. 1. 7.
소나큐브 (sonarqube) 다운로드, 설치, 실행 homepage : https://sonarqube.org Code Quality and Security | SonarQube Continuous Code Inspection Thousands of automated Static Code Analysis rules, protecting your app on multiple fronts, and guiding your team. Code Reliability Catch tricky bugs to prevent undefined behaviour from impacting end-users. Read more Application S www.sonarqube.org "소스의 정적 분석 도구" 다운로드 및 설치 https://www.sonarqube.org/d.. 2019. 12. 24.
반응형