# Simplifying DiffUtil with RxJava

DevFeed: [Simplifying DiffUtil with RxJava](<https://devfeed.tech/articles/simplifying-diffutil-with-rxjava-29036.md>)

Original publisher: [Read original article](<https://saket.me/simplifying-diffutil-rxjava/>)

Author: Saket Narayan

Published: 2018-02-18T07:45:54Z

Content type: tutorial

Language: en

Sources: [Saket Narayan](<https://devfeed.tech/sources/saket-narayan.md>)

Topics: [RxJava](<https://devfeed.tech/topics/rxjava.md>), [recyclerview](<https://devfeed.tech/topics/recyclerview.md>), [Code](<https://devfeed.tech/topics/code.md>), [implementation](<https://devfeed.tech/topics/implementation.md>)

Tags: [adapter](<https://devfeed.tech/tags/adapter.md>), [android](<https://devfeed.tech/tags/android.md>), [code](<https://devfeed.tech/tags/code.md>), [generics](<https://devfeed.tech/tags/generics.md>), [recyclerview](<https://devfeed.tech/tags/recyclerview.md>), [rxjava](<https://devfeed.tech/tags/rxjava.md>), [with](<https://devfeed.tech/tags/with.md>)

## AI overview

A tutorial on using RxJava's scan() and compose() operators to simplify DiffUtil implementations for RecyclerView adapter updates and item change animations.

## Source excerpt

One of my favorite parts of RxJava is that no matter how complex a state management usecase is, there's always an operator for that™. During a recent code cleanup, I found a very cool usecase of RxJava's scan() and compose() operators for simplifying the usually verbose DiffUtil implementation. I had been delaying writing this post [...] The post Simplifying DiffUtil with RxJava appeared first on Saket Narayan.