https://kotlinlang.org logo
#compose
Title
# compose
h

Halil Ozercan

07/27/2020, 1:54 PM
Hello everyone, I built a youtube-like videoplayer using 100% Compose. This was my initial challenge to get a hang of Compose for the first time. Foremost, I want to thank everyone in this channel who created a very welcoming and helpful environment. It was a blast getting to understand some fundamental concepts like states, ambients, and composition callbacks. Also, implementing a SeekBar sent me down a very low level journey on gesture detection in compose. I'm planning to open source the app when I'm confident with the code (best practices were not applied all the time 🙂 )

https://youtu.be/1Drhi5JM5Q4

❤️ 13
👍 13
😲 6
e

efemoney

07/30/2020, 10:40 PM
I would say “why wait” to open sourcing but thats just me. Fairly certain people looking into your code arent looking for “best practices” 😄
h

Halil Ozercan

07/31/2020, 11:55 AM
https://github.com/halilozercan/ComposeVideoPlayer if you want to check out the source, here it is. To reiterate, the code may include very hacky ways to achieve some interactions. For example, none of the drag gesture configurations worked for Seekbar implementation. So I had to copy paste from Compose's source code and make small adjustments.
🔥 1
🎉 1
2 Views