How to use Kotlin extension (run, apply, also, let and with)

前言


什麼是Exoplayer?

Exoplayer基本設定

allprojects {
repositories {
jcenter()
}
}
compile 'com.google.android.exoplayer:exoplayer:r2.X.X' 
compile 'com.google.android.exoplayer:exoplayer-core:r2.X.X'
compile 'com.google.android.exoplayer:exoplayer-dash:r2.X.X'
compile 'com.google.android.exoplayer:exoplayer-ui:r2.X.X'

建立Exoplayer APP

Tabaco Wang

Android Developer

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store