retrofit 을 이용해서 파라메터로 String 을 받아와 request 전송함. \, " 여기에 \ 이것들이 더해지는 문제 발생.. gson JsonObject 를 사용하면된다고함. 문자열에서 JsonObject 로 변환되는 걸 못찾아서 JSONObject 를 사용했ㄴ더니 new_value_param 이런게 키값으로 붙음.. 레트로핏은 내부에서 gson 으로 사용하므로 JSON 일 경우 gson 으로 변환하는데, 그 과정에서 붙는 키값이라고 함. 문자열을 gson JsonObject 로 변환하는 방법 다시 검색,, 아래블로그 발견,,!! 생명수 ㅠㅠ https://www.baeldung.com/gson-string-to-jsonobject 감사합니다 ㅠㅠㅠ해결 ㅠ String json = "{ \"..
Ref http://nabilbenyoussef.blogspot.com/2018/08/git-submodule-update-already-exists-and.html Issue IDE: 안드로이드 스튜디오 gitlab에서 clone 해왔는데 서브모듈 두개 중 하나가 찾을 수 없다고 해서 git submodule udpate --remote 만 했는데 안됨. git submodule update -> already exists and is not an empty directory When typing this : git submodule update Having this error : fatal: destination path 'xxx' already exists and is not an empty dir..
mockk DSL 지원 이라는 표현에서 DSL 이 무엇인지 찾아보게 되었다.
object VS class https://kotlinlang.org/docs/object-declarations.html#object-declarations-overview class 인스턴스를 변수에 대입하여 사용하는 방식이다. object expressions: 한번 사용하기 좋으며 익명 클래스라고도 한다. declarations: 싱글톤 패턴에 유용하게 사용가능하다. Object expressions Object expressions create objects of anonymous classes, that is, classes that aren't explicitly declared with the class declaration. Such classes are useful for one-tim..
DI (Dependency Injection) 의존성 주입 https://www.youtube.com/watch?v=1vdeIL2iCcM class A & class B A 코드가 B 를 사용한다면 A는 B에 의존성있다. 고 할 수 있음. 의존성 있는 코드, 객체를 넣어준다. A에서 B 를 직접 생성하는게 아니라 외부에서 B 인스턴스를 생성해서 주입해준다. 제어의 역전(Inversion of Control) class A -> class B 가 직접 제어하는게 아니라, 중간에 매개체를 사용하여 제어권을 일임하는 것. -> IoC Container 주로 IoC Conainer는 프레임워크가 담당한다. 의존성 주입은, 매개체를 두고 모듈을 등록하고 모듈을 주입한다. 모든 과정은 IoC Container 에게..
- Total
- Today
- Yesterday
- 안드로이드
- 코딩테스트
- EH
- 맥북개발환경
- 디자인패턴
- 동기메시징기술
- 알고리즘
- 쇼코의미소
- TKD
- Vlogr
- 프로그래머스
- 코틀린
- InShot
- AdobeClip
- Repository pattern
- VLLO
- 레포지토리패턴
- https://kotlinlang.org/docs/object-declarations.html
- android
- 클라우드 네이티브 애플리케이션 디자인 패턴
- 내채공만기
- Kotlin
- 청년내일채움공제
- 통신패턴
- 아이폰영상편집어플후기
- 수학 #다이나믹프로그래밍 #게임이론
- gitlab_ssh_permission_denied
- 내채공
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 29 | 30 | 31 |