Sudhir Singh Khanger
06/30/2018, 4:39 AMclass 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