1
0
mirror of https://github.com/TeamNewPipe/NewPipe synced 2025-01-20 14:12:59 +00:00
NewPipe/app
Profpatsch 6c3f31a721 WIP: integrate onBackPressed flow as callback
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.
2024-12-25 18:33:49 +01:00
..
sampledata Larger channel cards in search results 2023-02-09 06:15:22 +05:30
schemas/org.schabi.newpipe.database.AppDatabase Fix DatabaseMigrationTest 2024-03-29 20:43:55 +01:00
src WIP: integrate onBackPressed flow as callback 2024-12-25 18:33:49 +01:00
build.gradle WIP: integrate onBackPressed flow as callback 2024-12-25 18:33:49 +01:00
check-dependencies.gradle gradle script to enforce dependencies order 2024-11-26 18:32:44 +00:00
proguard-rules.pro Replaced `Icepick with Bridge and Android-State` 2024-11-10 16:42:42 +01:00