``` class MyDiffCallback(private val oldMovieList:...
# getting-started
s
Copy code
class MyDiffCallback(private val oldMovieList: MutableList<Movie?>,
                     private val newMovieList: MutableList<Movie?>) : DiffUtil.Callback() {
    
    override fun areItemsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean {
        
    }

    override fun getOldListSize(): Int = oldMovieList.size

    override fun getNewListSize(): Int = newMovieList.size

    override fun areContentsTheSame(oldItemPosition: Int, newItemPosition: Int): Boolean {
        TODO("not implemented") //To change body of created functions use File | Settings | File Templates.
    }
}
@Shawn