I have another question regarding my code above ^ ...
# rx
v
I have another question regarding my code above ^
Copy code
networkRequest
        .takeWhile {
            !allDataFetched
        }
        .repeat()
        .subscribe {
            // Do things
            Log.e(”log”,it.toString())
        }
this works fine, however, it emits data every time the network request completed (prints log every time) But what I want is to do multiple requests and emit only once after meets the condition in
takeWhile