Kavin
08/12/2019, 11:57 AMShawn
08/12/2019, 12:03 PMreturn should cause the calling function to return since the lambda isn’t marked as crossinlineShawn
08/12/2019, 12:03 PMreturn@forEachIndexedShawn
08/12/2019, 12:03 PMdiesieben07
08/12/2019, 12:04 PMKavin
08/12/2019, 12:04 PMreturn@forEachIndex it just skips the index 5 and continues with the next index i.e, 6th.diesieben07
08/12/2019, 12:04 PMdiesieben07
08/12/2019, 12:04 PMfor ((index, value) in list.withIndex()) {
}arekolek
08/12/2019, 12:04 PMtakeWhile / takeUntil?Shawn
08/12/2019, 12:04 PMKavin
08/12/2019, 12:05 PMKavin
08/12/2019, 12:06 PM