ExoPlayer setup in Compose:
200 lines of boilerplate
Manual lifecycle handling
Messy track selection
My new library XComposeMediaPlayer:
5 lines of code Lifecycle-aware
Built-in HLS caching
Just rememberXMediaState() and play.
๐ GitHub: https://t.co/O4ssMNSl9N
#Android
@Dev_JesseMaduka I can beat my chest and say even you probably don't really know how to use git, you just think you do because you discovered some cool commands ๐
I tried to keep it as close to the original as i could, but guessing the exact timings, colors and shapes from a blurry video is always a bit of a challenge. Still, I'm pretty happy with how it turned out.
Check out the GitHub gist: https://t.co/JxOvU494WL
๐๐ฝ๐ฝ๐ฎ๐ฟ๐ฒ๐ป๐๐น๐ ๐๐ต๐ฒ๐ป ๐๐ผ๐ ๐๐๐ฎ๐ฟ๐ฒ ๐ฎ๐ ๐๐ป๐ถ๐บ๐ฎ๐๐ถ๐ผ๐ป๐ ๐น๐ผ๐ป๐ด ๐ฒ๐ป๐ผ๐๐ด๐ต, ๐๐ต๐ฒ๐ ๐ฏ๐ฒ๐ด๐ถ๐ป ๐๐ผ ๐บ๐ฎ๐ธ๐ฒ ๐๐ฒ๐ป๐๐ฒ .
I worked on this animated review flow in Jetpack Compose using Canvas based off a video I found on Pinterest.
original coroutine, if you need to run a new job inside an already existing coroutine, just use the .launch or the .async builders that attached the new new coroutine to your existing scope.
There are actually very serious misconceptions about coroutines and suspend functions, I often see developers starting a new coroutine inside a viewmodelScope, and I think that itself shows a fundamental lack of understanding of how coroutine scopes actually work.
The whole reason we have a viewmodelScope in the first place is to bind coroutines to the ViewModelโs lifecycle and enforce structured concurrency at the UI boundary, starting a new coroutine inside a viewmodelScope scope can lead to memory leaks as it runs independently off the
@PsicoConecta Hello, So I am not in Latin America, just wondering if there are any considerations for outsiders? I have lots of experience in the fintech industries and can be a great addition to the team
Got bored and took up a medium level UI challenge for a football lineup feature:
building an interactive pitch where users can drag, drop, and swap players in real time.
I wrote about how my approach to building this below:
https://t.co/7Fiar8H8SO
@prospercode Lol experience is indeed counted in years, don't allow anyone fool you, the world out there isn't as nice as your comment sections, just keep pushing thou
Hey everyone! ๐
I recently developed XCalendar, a lightweight yet robust calendar library designed for Jetpack Compose. It's tailored for apps requiring both linear (scrollable) and grid (monthly) calendar layouts, streamlining the component creation process.