호출 스레드와 백그라운드 스레드 간 메시지 전달을 처리한다. 그러나 이것은 안드로이드 플랫
폼의 최근 버전에서 추가된 몇 가지 최신 기능은 지원하지 않는다. 다음 장에서 살펴보겠지만,
AsyncQueryHandler
는
CursorLoader
와 조합하여 사용하는 게 더 용이하다. 즉, 데이터 쿼리
는
CursorLoader
에 의해 처리되고, 삽입/업데이트/삭제는
AsyncQueryHandler
에 의해 처리
되는 방식이다(
xxx
쪽 ‘예제:
AsyncQueryHandler ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month, and much more.