So I was migrating an Android Studio project to Java 8, Android API level 24 and the Jack toolchain today to check out the new features, especially lambdas and CompletableFuture
.
Unfortunately, CompletableFuture
seems to be available only from API level 24 on (my minimum API level for that project being 16).
Do you know of any plans on bringing CompletableFuture
to the Android support library? It looks like a nice solution for the Promises pattern.
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…