[android : kotlin] 코틀린 apply 사용방법 및 총정리 : 스코프 함수(Scope Functions)
코틀린 apply 사용방법 apply와 같은 스코프함수는 람다식을 사용합니다. 중괄호{}로 묶어서 사용하게 됩니다. 중괄호 안에서 임시 범위가 형성됩니다. 이 범위에서는 이름없이 객체에 접근 할 수 있습니다. ...
[android : kotlin] 코틀린 .let 사용법 예제 및 총정리 : 스코프 함수(Scope Functions)
코틀린 .let 사용법 let와 같은 스코프함수는 람다식을 사용합니다. 중괄호{}로 묶어서 사용하게 됩니다. 중괄호 안에서 임시 범위가 형성됩니다. 이 범위에서는 이름없이 객체에 접근 할 수 있어요. ...
[Vue warn]: Unknown custom element: – did you register the component correctly? For recursive components, make sure to provide the “name” option. 제거하는 방법
메뉴를 클릭하거나 화면이동시 다음과 같은 경고 내용이 메뉴를 클릭할 때 마다 발생하는 경우가 있다. [App.vue] <template> <v-app> <component :is="curLayout"> <keep-alive :exclude="viewArr"> <router-view /> </keep-alive>>...
[android : kotlin] 코틀린 Collection 함수 예제 및 총정리( List, Map, Set 예제 코드)
코틀린 Collection 함수 Collection 함수에 대해 알아 보자. “데이터를 저장하기 위해 사용한다” 라고 생각하면 쉽다. 크게 List, Map, Set으로 나눌 수 있다. List는 기본적으로 변경이...
[아파치 웹서버] 이미지 저장 경로 변경 중 Forbidden 오류 발생..
https://blog.naver.com/shackerz/220375507309 너무 오랜만에 자바에 접하고 있다. 이미지를 저장하는 서버 경로를 변경중인데.. path.properties에서는 변경을 하여서 리눅스 서버의 경로에는 이미지가 저장되고 있다. 하지만 이미지를 찾지 못하는 오류가...
[android : kotlin] 코틀린 클래스와 생성자(Constructor) 및 용어 정리 : 프로퍼티(Property), 인스턴스(Instance), override, open class , open fun
코틀린 용어 정리 클래스(Class) : 분류, 범주프로퍼티(Property) : 속성(Attribute), 변수(Variable), 필드(Field), 데이터(Data) 메서드(Method) : 함수(Function), 동작(Operation), 행동(Beahavior) 객체(Object) :물리적인 메모리 영역에서 실행되고 있는 클래스의 실체를...
[android : kotlin] 코틀린 더블콜론(::) 사용 방법 & 사용 예시
코틀린 더블콜론(::) 코틀린에서 변수나 클래스명 앞에 더블콜론(::)을 명시하면 변수에 대한에 속성을 참조할 수 있습니다. 더블콜론을 명시하면 변수가 아닌 객체로 액세스할 수 있기 때문입니다. 함수(메서드) 내에서...
[android : kotlin] 코틀린 Nothing 사용방법 & 사용 예시
코틀린 Nothing 사용방법 Nothing 타입은 그 어떤 값도 포함하지 않으며, 그 어떤 객체도 반환하지 않는다. Nothing클래스를 열어보면 private constructor로 정의되어 있기 때문에 인스턴스를 생성할 수...
[android : kotlin] 코틀린 Unit 오브젝트 사용방법 & 사용 예시
Unit 키워드는 자바의 void에 해당된다. Unit 클래스를 살펴보면 싱클턴 클래스 라는 것을 알 수 있다. 싱글턴이란? /* * Copyright 2010-2015 JetBrains s.r.o. * * Licensed under...
[android : kotlin] 코틀린 shared Preferences 사용방법 및 예제 코드 : 자동 로그인 처리하기
코틀린을 사용하여 안드로이드 개발시 sharedPreferences를 사용하는 방법에 대해 알아봅니다. 간단하게 안드로이드 스튜디오에서 지원하는 템플릿을 이용하여 로그인 액티비티를 추가합니다. app폴더 위에서 마우스 오른쪽 버튼 클릭 후 New...