RxJaxa
lightglitch opened this issue · 3 comments
lightglitch commented
Nice, how would you integrate the Observable pattern in your library?
pedrovgs commented
Observable pattern can be applied inside renderers using a model to configure your renderers to return observable objects. A good implementations could be combine renderers with MVVM pattern and create VM that returns Observable to be observed by custom views or the renderer. Your renderer should use VM to render each row.
With that ideal implementation you could be able to change the row of your ListView without use notifyDataSetChange() method in RendererAdapter, but be careful because you should unregister the observer when the content of your renderer change.
lightglitch commented
Thx for the explanation. I will try it.
pedrovgs commented
You are welcome!