Jolanda Verhoef
banner
lojanda.bsky.social
Jolanda Verhoef
@lojanda.bsky.social
Android Developer Relations @Google. Hasn't touched XML layouts in years.
What's holding you back from upgrading to 1.8 at this point?
May 1, 2025 at 7:44 AM
This resonated a lot, thank you so much for sharing 💚
April 28, 2025 at 8:34 AM
That's more of an architectural question vs a Compose question. But yes, you'll definitely want to re-use your player instance(s).
Have you checked the new PreloadManager? That was built specifically with short form video use cases in mind? See github.com/android/soci...
Add preload manager to exoplayer to improve short form playback experience by MayuriKhinvasara · Pull Request #91 · android/socialite
Add preload manager to exoplayer to improve short form playback experience (1) Add preload manager for exoplayer (2) Create an Wrapper class to manage and customize all functionalities of preload (...
github.com
March 28, 2025 at 11:55 AM
Ready to dive in? Check out the updated docs for details & examples: developer.android.com/media/media3...
Feedback? Let us know on GitHub: github.com/androidx/media

#Android #VideoPlayback
Getting started with Compose-based UI  |  Android media  |  Android Developers
developer.android.com
March 27, 2025 at 5:13 PM
Why this approach? We're giving you the flexibility you need. Instead of a pre-built UI, you get robust, tested state logic. This ensures your custom controls are perfectly synced with playback. Reliability of Media3 + creative freedom of Compose = 🤩
March 27, 2025 at 5:13 PM
This release contains:

- PlayerSurface: Clean wrapper for Surface/Texture for easy video rendering.
- PresentationState: Smoother transitions between playlist items.
- Composable State Classes: Build your own UI controls! Play/Pause, Next/Prev, Shuffle, Repeat, and more to come!
March 27, 2025 at 5:13 PM
Got you! Accidental clickbait haha 😆
February 23, 2025 at 9:47 AM
I'll raise this to see if we can change the order here somehow. I know the pain :)
November 18, 2024 at 8:58 PM
Ahh that's cool! So let me try to understand; you registered your broadcast receiver in your manifest, launched a foreground service when it was called, and then in the foreground service you render Compose UI?
Did you encounter any strange effects while using Compose to draw on top of other apps?
November 18, 2024 at 2:32 PM
Did you write any code using Compose for that use case? In general broadcast receivers and foreground services are a very complex area, I'm coming in from the Compose side trying to understand where they overlap.
November 18, 2024 at 2:28 PM
Followed up anyway and indeed Android Studio / Intellij doesn't use type information for auto-complete as it requires too much processing and would make auto-complete too slow. Using smart completion will do what you need.
November 18, 2024 at 1:14 PM
Can you give a specific example so I can raise this internally?
November 15, 2024 at 8:30 AM