<Extract values from list of objects in kotlin usi...
# stackoverflow
u
Extract values from list of objects in kotlin using stream api I'm supposed to take out odds from the response with some conditions. Wanted to use stream API effectively. I have written code but would like to get a better way of writing it. Condition to look for 1)Data 1, X, 2 offer- list - criterion - englishlabel “Full Time” offer- list - tags “MAIN” offer- list - outcomes - englishLabel “1/x/2” offer -list - outcomes - odds 2)Data Under,Over offer- list - criterion - englishlabel “Total Goals” offer- list - tags “MAIN” offer- list - outcomes -...