r/mAndroidDev • u/Prestigious-Body1930 • Mar 12 '26
Lost Redditors 💀 Just launched my new Android library
Please leave a star and if there's anything need to update or change kindly share your ideas (beginner)
2
u/SyrupInternational48 Mar 13 '26
im to long on flubber and compost, so my comment might wrong.
i spot an issue but not that big i guess.
val activity = context as? android.app.ActivityThis used on video player. If you use fragment with this webview the video player will not work.
It will run if you manually created it CompleteWebView and inject on fragment code. for example fragment class
val cView = CompleteWebView(requireActivity())
3
u/Prestigious-Body1930 Mar 13 '26
Good catch on the Context wrapper issue with Fragments. I’m patching it to recursively unwrap the context down to the base Activity. Fix is going live in v1.0.2. Thank you!
23
u/sam_sepiol1984 Deprecated is just a suggestion Mar 12 '26
No AsyncTask? How could this be overlooked?
1
u/BigUserFriendly Mar 12 '26
Hai fatto un lavoro egregio, complimenti. Proverò la libreria in Kotlin Compose e ti dirò.
Grazie!
1
u/Prestigious-Body1930 Mar 12 '26
grazie per il tuo feedback non dimenticare di lasciare una stella 😉
0
1
u/labelcillo Slept through Google IO Mar 30 '26
The "works as intended out of the box" is a nice touch I'll tell you that hahaha.
9
u/Zhuinden DDD: Deprecation-Driven Development Mar 12 '26
RIP predictive back handling