# AdapterCommands: A library for animated RecyclerView dataset changes

DevFeed: [AdapterCommands: A library for animated RecyclerView dataset changes](<https://devfeed.tech/articles/adaptercommands-25437.md>)

Original publisher: [Read original article](<https://hannesdorfmann.com/android/adapter-commands/>)

Author: Hannes Dorfmann

Published: 2016-02-07T09:00:00Z

Content type: tutorial

Language: en

Sources: [Hannes Dorfmann](<https://devfeed.tech/sources/hannes-dorfmann.md>)

Topics: [Android](<https://devfeed.tech/topics/android.md>), [Library](<https://devfeed.tech/topics/library.md>), [Architecture & Design](<https://devfeed.tech/topics/architecture-design.md>), [coding](<https://devfeed.tech/topics/coding.md>)

Tags: [android](<https://devfeed.tech/tags/android.md>), [architecture](<https://devfeed.tech/tags/architecture.md>), [demo](<https://devfeed.tech/tags/demo.md>), [how-to](<https://devfeed.tech/tags/how-to.md>), [library](<https://devfeed.tech/tags/library.md>), [recyclerview](<https://devfeed.tech/tags/recyclerview.md>), [software](<https://devfeed.tech/tags/software.md>)

## AI overview

AdapterCommands is an Android library that uses the command pattern to represent RecyclerView adapter updates. It can calculate differences between old and new lists and execute commands that enable animated item changes.

## Source excerpt

Last week I was honored to be guest at Artem Zinnatullin's podcast The Context where we talked about software architecture on android. In this episode I have highlighted how important a presentation model in MVP is by giving an example how to deal with RecyclerView Adapters dataset changes. Afterwards people asked me how exactly do I apply animated dataset changes and why a presentation model is helpful in this case.