A
A
Andrei K2017-06-03 13:08:16
Android
Andrei K, 2017-06-03 13:08:16

Android SQLite: how to bind model and view (MVVM)?

I want to implement a mechanism that will connect the model and the view: when the data in a certain table changes, notifications about this change are sent to the activities/fragments subscribed to these changes to update the UI.
I am using SQLite/GreenDao and the MVP pattern. I don’t want to switch to MVVM, I just want to update the UI of activities on data changes. What libraries and solutions are currently used for this in Android, best practices?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
Dmitry Serkov, 2017-06-04
@Hutaab

RXJava

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question