ROOM + Coroutine Flow - 1 (ListAdapter / DiffUtil 이란?)
Room 과 Flow를 공부하기 전에, 잠시 ListAdapater와 DiffUtil에 대해서 알아보고 가겠습니다. DiffUtil이란? DiffUtil is a utility class that calculates the difference between two lists and outputs a list of update operations that converts the first list into the second one. 2개 list를 비교하는 것이다. It can be used to calculate updates for a RecyclerView Adapter. See ListAdapter and AsyncListDiffer which can simplify the use of DiffU..