Skip to content

Tracking data changes

Tonic Artos edited this page May 17, 2016 · 1 revision

Tracking data changes is a complicated affair. It must match the RecyclerView behaviour as much as necessary to reconstitute the changes to the section graph, after being broken up into multiple layout passes. The basic approach at the moment is for the adapter to both notify SuperSLiM and the recycler view of data changes. When recycler view later notifies SuperSLiM of a change, that event must be matched up with the user action. This is necessary due to the inability to bundle information about the affected section in the notification to recycler view.

Versioned Pages

0.4

[Getting Started](Getting started with version 0.4)
[User's Guide](User's guide for version 0.4)

version5 (WIP)

User documentation
[Basic usage](A simple tutorial)
[Advanced usage](All the cool things)
[SuperSLiM and RxJava](Using SuperSLiM with RxJava)

Developers documentation
Glossary
[The section graph](The section graph)
[Tracking data changes](Tracking data changes)
[Configuration transformations](Configuration transformations)
[Layout helpers](Layout helpers)
[Section configuration](Section configuration)
[Section state](Section state)
[Section layout managers](Section layout managers)
[Header layout managers](Header layout managers)

Clone this wiki locally