Android

Retrofit
Retrofit Retrofit 은 Square사에서 제공하는 오픈 소스 라이브러리이다. REST API를 안드로이드에서 쉽게 사용하도록 도와준다. OkHttp 라이브러리를 자신의 HTTP클라이언트로 사용한다. 래트로핏은 HTTP 게이트웨이 클래스 생성을 도와준다. - 애노테이션을 지정된 함수를 갖는 인터페이스를 작성한다. - Retrofit이 인터페이스의 구현 클래스를 생성한다. - 이 클래스에서 HTTP 요청(request)을 하고 OkHttp.ResponseBody 로 HTTP 응답(response)을 파싱한다. 여기서 중요한 포인트는, ResponseBody를 그대로 받아오는 것보다 형변환을 한번 거쳐서 가져오는 것이 더 편하고 좋다. 응답 변환기 Response Converter 앱에서 필요한 ..
![[Gradle] DaggerMyAppApplication_HiltComponents_SingletonC....](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbLEeIB%2FbtrnVazk7OX%2Fx4vmMKulPJT7EsSK9y6rNK%2Fimg.png)
[Gradle] DaggerMyAppApplication_HiltComponents_SingletonC....
error: cannot find symbol return DaggerMyApplication_HiltComponents_SingletonC.builder() ^ symbol: variable DaggerMyApplication_HiltComponents_SingletonC Fixed by removing deprecated dependencies: implementation "androidx.hilt:hilt-lifecycle-viewmodel" kapt "androidx.hilt:hilt-compiler https://github.com/google/dagger/issues/2541

Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories.
Please remove usages of `jcenter()` Maven repository from your build scripts and migrate your build to other Maven repositories. developer.android.com/studio/build/jcenter-migration JCenter 지원 중단 및 서비스 종료 | Android 개발자 | Android Developers JCenter에서 Android 종속 항목 이전 developer.android.com