yigit/dev-summit-architecture-demo

Observable Objects

AlokBansal8 opened this issue · 1 comments

Why isn't observable objects used?

The project shows an alternative and uses "SortedList" instead of observable fields.
https://developer.android.com/reference/android/support/v7/util/SortedList.html

Because you can use a SortedList.Callback mechanism to describe equality of list items,
adding/updating gets a whole lot easier:

https://developer.android.com/reference/android/support/v7/util/SortedList.Callback.html

Does this answer your question?