Leverage Room’s auto-refresh with cautions

Eric N
2 min readMay 31, 2021

The “auto-refresh” convenience Room’s RxJava (Flowable) integration gives you does come with a couple of caveats

Problem #1 UI is refreshed too many times

Given a view that renders data from stream that reads a particular DB tables, how many times will it update itself if old records are cleared and then new records inserted and/ or…

--

--