0

i have implemented example from this link Multiple requests with retrofit to combine results

1: https://stackoverflow.com/a/38114462/2024338 , but at my side throws this exception, can anyone suggest me solution for this?

Error Screenshotenter image description here

Giorgi Asaturyan
  • 393
  • 1
  • 5
  • 16
  • use BiFunction instead Func2 or in java 8 third parameter would (jsonObject,jsonelement,dbManager)->{ } – Rahul Mar 05 '18 at 10:33

1 Answers1

1

You use RxJava2 ? Because Func2 is now replaced by BiFunction.

  • thanks, but i can`t find any good example to understan the syntax and code , can you please provide some useful inks? – Giorgi Asaturyan Mar 05 '18 at 11:02
  • You can find an example here https://github.com/amitshekhariitbhu/RxJava2-Android-Samples/blob/12e21f0e7b1a569e093c9a04ed1098fb6b218237/app/src/main/java/com/rxjava2/android/samples/ui/operators/ScanExampleActivity.java#L48 – n_benbourahla Mar 05 '18 at 12:15