What's changed from 1.0.4-beta02
- the video player library is changed but there's no need to add the library in the app project.
- a color:Int is added to TextStyle.kt to allow the SDK users to customize the text color.
What's new compared to the previous official version, 1.0.3
- Kotlin is added: please note that Kotlin and Java can be used in a project. To differentiate Java classes and Kotlin classes, I added a keyword ktx to Kotlin classes' name
- UI components for a video player, written in Kotlin.
- API requests(Album, PDP, and Analytics) via Kotlin.coroutines: this is a similar way of Scala's Future + await in dealing with async tasks. So, there's no need to use callbacks(interface) anymore. The SDK users can just get the result from the API methods directly within a scope(Kotlin.coroutines' language feature). I added sample codes throughout the demo app.
- a new library project is added to implement VideoWidget: https://github.com/pixlee/AndroidJZVideo
- Documentation for UI components and Kotlin.coroutines APIs
- This Android SDK is now provided via a Gradle to our users. They now can use this by adding a Gradle dependency to their Gradle file in their Android projects. There is a guide for it in README.
Document (available in the main README)
Demo
https://www.loom.com/share/37fb674d3cb348d48c3479b67a9bc2aa