Skip to content Skip to sidebar Skip to footer

Why Is Oncomplete Not Called In This Code? (rxandroid)

I know OnComplete of a Observer is called when all the items are emitted. In the below code, I am putting data from a cursor to an ArrayList in a flatMap operator. My cursor has 10

Solution 1:

FlatMap operator merge your main stream with your flatMapped stream. Your observable will complete if q and your Observable from your array complete. So check why q doesn't no complete.


Post a Comment for "Why Is Oncomplete Not Called In This Code? (rxandroid)"