Skip to main content
Filter by
Sorted by
Tagged with
0 votes
1 answer
31 views

I am using rxjava3 in my case I want to get paging data that comes as flowable from android paging with initial data from another API I want to use zip operator to call both only for first time then ...
ayman omara's user avatar
0 votes
1 answer
74 views

Working on updating my app from RxJava2 to RxJava3. I know there are some updates to how groupBy works from reading the documentation, but I'm having trouble understanding why I'm seeing this ...
Gwarglemar's user avatar
0 votes
1 answer
46 views

I have rxjava3 Flowable having Item objects and want to run async operation in batches only for elements matching a condition. Then I want to allow downstream operators to iterate over original Item ...
kodstark's user avatar
  • 492
1 vote
1 answer
44 views

I need to handle different types of events in a strict one by one manner, but in a background thread. According to the documentation, the next code, Schedulers.from(executor, false, true);, should ...
Lunigorn's user avatar
  • 1,422
0 votes
2 answers
99 views

Reactive Streams is built around back pressure what is great and I would like to better understand how to use RxJava3 API. The approach to drop overflow data for GUI events is perfectly fine but if I ...
kodstark's user avatar
  • 492
1 vote
1 answer
92 views

I'm encountering a ClassCastException in my Android application that occurs after the login screen when the app is uploaded to the Play Store. The application works fine in development, but it crashes ...
Meghan patil's user avatar
0 votes
1 answer
38 views

I'm new to Rxjava and could not find an example or appropriate usage of single.delay() that uses the result of the previous flatmap as the delay. My aim is to use the result of functionOne() to set ...
RxPleb's user avatar
  • 13
0 votes
1 answer
28 views

I'm new to RXJava. I have this code Observable.just( getAllImagesFromFirebaseStorage( spotsList.get(i).getName(), spotsList....
juske's user avatar
  • 310
0 votes
1 answer
48 views

return Single.fromFuture( asyncStub.withDeadlineAfter(ClientConfiguration.INSTANCE.getMaxTimeout(), TimeUnit.SECONDS).checkBalance(payload)) .doOnSubscribe(s -> System.out.println(&...
alok gupta's user avatar
0 votes
1 answer
35 views

I would like to apply subscribeOn based on the condition on Observables. For example in the below code Observable.just("One", "Two", "Three") .flatMap(v -> ...
Raghavendra Prasad's user avatar
0 votes
0 answers
60 views

Using this code: Disposable d = Flowable.range(1, 5) .subscribeWith(new DisposableSubscriber<Integer>() { @Override ...
Doua Beri's user avatar
  • 11k
0 votes
0 answers
37 views

I am writing an unit test for methodOne and am trying to simulate an exception scenario. Single<String> methodOne() { methodTwo(); return Single.just("Hello"); } Single<...
rangarok's user avatar
1 vote
0 answers
50 views

Say I have some variables stored in ThreadLocal and how can I fetch them in below 'mapper' method? ThreadLocal<String> data = new ThreadLocal<>(); data.set("some data"); ...
rellocs wood's user avatar
  • 1,491
1 vote
0 answers
62 views

Im going through RSocket implementation for Java using this https://github.com/rsocket/rsocket-java, but could only find Reactor support(Flux,Mono) I cannot see any RxJava(Observables) support with ...
akshay jangid's user avatar
0 votes
1 answer
674 views

I have the following code which creates a simple Observable, emits an Integer and calls onComplete. According to https://medium.com/@ValCanBuild/making-rxjava-code-tidier-with-doonsubscribe-and-...
Jay Dharmendra Solanki's user avatar

15 30 50 per page
1
2 3 4 5
10