1. Download attached library and put in additional libraries folder.
2. Add to main module:
Example:
2. Add to main module:
B4X:
#AdditionalJar: core-lambda-stubs.jar, ReferenceOnly
Example:
B4X:
'in B4XPage
#if java
import java.util.*;
public void test() {
List<Integer> numbers = Arrays.asList(1, 2, 3, 4, 5);
numbers.forEach( (n) -> BA.Log("" + n) );
}
#End If
B4X:
Me.as(JavaObject).RunMethod("test", Null)