Become a member
Sign in
Observable queries, so the ones that return Flowable or LiveData, are run on a background thread.
107
1
Florina Muntenescu
Jiang Hejie
Jiang Hejie
Jul 26, 2017 · 1 min read

Yes,but it’s the RxJava and LiveData that do the background job,not room.

Room can not ensures observable queries are done off the main thread

    Jiang Hejie

    Written by

    Jiang Hejie

    Write the first response

    Discover Medium

    Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch

    Make Medium yours

    Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore

    Become a member

    Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade
    AboutHelpLegal