Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
90 views

I have here an Observable, inwhich I combine two observables: someOtherObservable .switchMap { Observables .combineLatest( RestClient ....
Edna Krabappel's user avatar
0 votes
0 answers
54 views

I have a multi module architecture android project, where there are modules like module A, module B, module C and shared common module. Each modules code is private. Other modules cant access directly,...
ndn's user avatar
  • 127
0 votes
0 answers
59 views

I'm new to RxJava and I got a question about transforming callbacks into Observables. I have this function that uses a callback. client.loadAsync(body, object : Callback { override fun onSuccess(...
Alfredo Bejarano's user avatar
0 votes
2 answers
415 views

I have a list of users and I need to save users one by one via API call. I tried the below code and it sends the same user for all API calls. gradle implementation 'io.reactivex.rxjava2:rxandroid:2.1....
AndroidDev's user avatar
0 votes
1 answer
101 views

I have a problem to understand a chained "RXJava-Retrofit" API call. I got inspired by this and implement this class named ObservationLoader to load the data from the API bucket per bucket. ...
Felix's user avatar
  • 566
0 votes
1 answer
298 views

I am trying to write to a peripheral in Android Kotlin using RxAndroidBle. The application writes to the peripheral and then the peripheral responds if this write request is successful, i.e. According ...
FABiO's user avatar
  • 92
0 votes
0 answers
392 views

I have multiple tasks, each being executed on Schedulers.newThread(). The task is a method, which returns Observable<Long>. The overall structure looks like this: public void ...
Andrei Aleksandrov's user avatar
0 votes
1 answer
222 views

I am new to the concept of multi-threading and also new to RxJava. I think I ran into a race condition in my Android project. To be able to demonstrate it better, I downloaded the google codelabs ...
Blaupunkt's user avatar
  • 129
1 vote
1 answer
73 views

I have a usecase where I get list of userids from 1 Api as a Single<List> and I need to fetch all the users from a different Api which returns Single. fun fetchUserIds(): Single<List<...
Ishita Garg's user avatar
0 votes
1 answer
156 views

Is it possible to achieve something like this with RxJava, and if so - how: There is chain of Rx operators, which is subscribed to with proper subscribeOn and observeOn Inside the chain, there is a ...
ror's user avatar
  • 3,520
1 vote
1 answer
263 views

I have started reading about RxJava / RxAndroid, but I can't find simple tutorial that covers typical thing, like getting network data and updating UI with the result. Many tutorials cover scenario ...
Kamil's user avatar
  • 14k
1 vote
0 answers
52 views

How can I create a stopwatch with Rx in Kotlinv with Observables, so anything can subscribe to it: It shall remain even when I put the app in background I start the Observable with anything I ...
Ralf Wickum's user avatar
  • 3,178
0 votes
0 answers
405 views

I'm very new to RxJava/RxAndroid and I'm very confused with how to achieve this workflow: Trigger void function Once it completes, provide some sort of callback to start a Completable function. I ...
moonknight's user avatar
0 votes
1 answer
113 views

Problem description I writing an Android application in Java to handle RFID reading based on some proprietary library and hardware. The RFID reader has a JNI library, which acts as an API to the ...
tur11ng's user avatar
  • 1,112
0 votes
0 answers
302 views

I wanted to ask something with regards to memory leaks in general in RxJava. Once a Single or Completable's subscription terminates (i.e. after onSuccess or onError, etc. is called), is it safe to ...
detcle's user avatar
  • 91

15 30 50 per page
1
2 3 4 5
118