mirror of
https://github.com/TeamNewPipe/NewPipe
synced 2025-01-09 22:24:46 +00:00
6c3f31a721
This sets up a little JavaFlow wrapper so we can register callbacks on the back press flow in Java-land. Inspired by one of the answers in https://stackoverflow.com/questions/60605176/kotlin-flows-java-interop-callback Kotlin generates default interface instances, but only if `-Xjvm-default=all` is set in the compiler flags. The Java IDE would propose using a lambda, which would fail because the kotlin compiler would not generate the right ABI without that flag. |
||
---|---|---|
.. | ||
sampledata | ||
schemas/org.schabi.newpipe.database.AppDatabase | ||
src | ||
build.gradle | ||
check-dependencies.gradle | ||
proguard-rules.pro |