블로그
- Kotlin - Retrofit ProjectStructure - Dependencies에 들어가서 깔아줘야한다. com.squareup.retrofit2 (retrofit) com.google.code.gson (gson ) com.squareup.retrofit2 (converter-gson) 등등을 안드로이드 스튜디오에 깔아줘야 한다. 1.
- Network2 - Retrofit으로 RecyclerView에 구현 implementation 'com.squareup.retrofit2:retrofit:2.3.0' implementation 'com.squareup.retrofit2:converter-gson
- Network1 - HttpUrlConnection으로 RecyclerView에 구현 AndroidManifest.xml에 application탭에 추가 android:usesCleartextTraffic="true" === bundle.gradle(app)에 gson
- JSON과 GSON (+okHttp 통신) Gson JSON을 객체로 혹은 객체를 JSON으로 변경하기 위해 사용되는 라이브러리 - 예시 코드 Json,Gson을 이용하여 okHttp로 통신하기 - 실제 사용 예제 : destinationUid를
- jackson vs gson https://djkeh.github.io/articles/The-fastest-way-to-parse-json-data-to-java-kor/
- [android] gson preference arrayList 저장 및 빼내기 mArray = new ArrayList<>(); String list = UtillPreference.getList(getBaseContext()); Gson gson 저장하기 Gson gson = new Gson(); String list = gson.toJson(mArray); UtillPreference.setKeywordList(getBaseContext
- 안드로이드 - 제이슨 JSON implementation 'com.squareup.retrofit2:retrofit:2.1.0' implementation 'com.squareup.retrofit2:converter-gson
- 초보 안드로이드 개발자가 꼭 알아야할 필수 라이브러리들 dimen)뷰의 그룹화 이미지 불러오기와 보여주기 (Picasso v2.5)http 요청을 자동으로 해줌, 이미지 캐싱도 해줌사진, drawable, 파일 API에서 데이터 가져오기 (Gson