본문 바로가기

Android

(21)
[Android] RecyclerView - java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c041c7 VFED.V... ........ 0,0-1080,1450 #7f080058 app:id/common_list_re.. Error log 더보기 java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c041c7 VFED.V... ........ 0,0-1080,1450 #7f080058 app:id/common_list_recycler_view} java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c0..
[안드로이드] RecyclerView - java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c041c7 VFED.V... ........ 0,0-1080,1450 #7f080058 app:id/common_list_re.. 에러 로그 더보기 java.lang.IndexOutOfBoundsException: Inconsistency detected. Invalid item position 16(offset:16).state:34 androidx.recyclerview.widget.RecyclerView{3c041c7 VFED.V... ........ 0,0-1080,1450 #7f080058 app:id/common_list_recycler_view} 재현 방법 List를 refresh하고 scroll 한다. 해결 방법 Refresh 시점에 Adapter의 data list를 초기화할 때 list.clear()가 아닌 객체를 새로 만들어 준다. mDataset = new ArrayList();
[앱 소개] Android System Info - 안드로이드 장치 정보 확인 오늘 소개드릴 앱은 Android System Info라는 앱입니다. 앱을 다운로드 받을 있는 Play Store 링크입니다. https://play.google.com/store/apps/details?id=com.kyumpany.systeminfo Android System Info는 안드로이드, 커널, 하드웨어에 대한 구체적인 정보를 제공합니다. 앱을 통해 확인할 수 있는 주요 정보는 아래와 같습니다. - 안드로이드 정보 - 안드로이드 개발자를 위한 안드로이드 정보 - 커널 정보 - 설치된 애플리케이션 정보 - 디렉토리 - 코덱 - 안드로이드 시스템 프로퍼티 - 시스템 프로퍼티 - Environment 변수 - SOC - 하드웨어 정보 - 배터리 - 네트워크
[안드로이드] 오페라 모바일 스토어에 안드로이드 앱 등록하기 3rd party app store 중 하나인 Opera Mobile Store를 소개드리려고 합니다. http://apps.opera.com/ HTML5 Games and Apps - Opera Mobile Store html5.oms.apps.bemobi.com 안드로이드, 블랙베리, iOS, HTML 5, 심비안, 윈도우폰, 윈도우 모바일을 위한 서비스를 제공하고 있습니다. 아래 링크를 통해 개발자 개정을 무료로 생성할 수 있습니다. 입력 후, 메일로 password가 전송됩니다. https://publishers.apps.bemobi.com/ 로그인 후, Company Details 탭에서 회사 정보를 입력합니다. Manage Products에서 Add Product를 통해 app 등록을 시작합니..
[Android] The color "xxx" in values has no declaration in the base values folder; this can lead to crashes when the resource is queried in a configuration that does not match this qualifier less... This error occurs usally when a project is copied. The solution is simple as follows. 1. Build > Clean Project 2. File > Invalidate Caches / Restart You can confirm the project is working fine after restarting Android Studio.