반응형

전체 글 250

[RecyclerView] onBindViewHolder 호출 시점

0. Marvel 캐릭터를 보여주는 앱을 만들고 있던 도중.. API 호출 시에는 데이터가 20개 정도 오는 데, RecyclerView 에는 4개의 아이템만 반복되어 보이는 버그가 있었다. 원인은 onBindViewHolder 가 4번만 호출되고, 이후 스크롤 시에는 호출되지 않아, 기존에 있던 4개의 아이템만 반복해서 보여지게 되었다. 이번 기회에 RecyclerView 에 대해 좀 더 자세히 알아보고 싶어서 공부한 내용을 정리해 보려고 한다. 1.

Platform/Android 2022.10.17

[ERROR][Retrofit] CLEARTEXT communication to gateway.marvel.com not permitted by network security policy

2022-09-12 14:54:42.941 30296-30296/kr.co.ganeg.introducemarvelapp E/CharacterListRepository: onFailure: error. cause: CLEARTEXT communication to gateway.marvel.com not permitted by network security policy 해결 AndroidManifest.xml → 내 usesCleartextTraffic="true" 설정 참고 https://gun0912.tistory.com/80 [안드로이드]CLEARTEXT communication to XXXX not permitted by network security policy "CLEARTEXT communica..

Platform/Android 2022.09.12

[ERROR] Invocation failed Unexpected end of file from server 오류 (GitHub Push 오류)

https://latte-is-horse.tistory.com/353 [Android Studio] Invocation failed Unexpected end of file from server 오류 (GitHub Push 오류) 문제 상황 GitHub에 Push를 시도하던 중 다음과 같은 오류 발생. 토큰을 재발급 받아 갱신시켜 봤지만 해결 안 됨 Invocation failed Unexpected end of file from server java.lang.RuntimeException: Invocatio.. latte-is-horse.tistory.com

Platform/Android 2022.07.24

[Server] json-server 사용하기(간단하게 올리는 로컬 서버)

- fake-server 가이드 https://redux-advanced.vlpt.us/3/01.html 3-1. json-server 이해하기 · GitBook 3-1 json-server 사용하기 json server 는 아주 짧은 시간에 REST API 를 구축해주는 라이브러리입니다. 하지만, REST API 서버의 기본적인 기능을 대부분 갖추고 있는데요, 프로덕션 전용은 아닙니다. 프로 redux-advanced.vlpt.us - 샘플 데이터 https://github.com/JIKYUNGHEE/fakeServer - 사전 준비 https://butter-ring.tistory.com/17 Mac 에서 Homebrew 를 통해 node, npm, yarn 설치하기 프로젝트를 정리하기 위해 맥북에 ..

Platform/BackEnd 2022.04.27

[Splash]

cold-start warm-start hot-start https://developer.android.google.cn/about/versions/12/features/splash-screen?hl=ko 스플래시 화면 | Android 12 | Android Developers Android 12에서는 모든 앱에 새로운 앱 실행 애니메이션을 사용 설정하는 SplashScreen API를 추가합니다. 여기에는 실행 시 앱 내 모션, 앱 아이콘을 보여주는 스플래시 화면, 앱 자체로의 전환이 포함 developer.android.google.cn https://sungbin.land/%EC%95%88%EB%93%9C%EB%A1%9C%EC%9D%B4%EB%93%9C12-%EC%8A%A4%ED%94%8C%EB%..

Platform/Android 2022.04.11
반응형