Specifying : ExoPlayer makes the contract explicit
This commit is contained in:
+1
-1
@@ -35,7 +35,7 @@ import okhttp3.OkHttpClient
|
|||||||
class ExoPlayerBuilder(
|
class ExoPlayerBuilder(
|
||||||
val okHttp: OkHttpClient,
|
val okHttp: OkHttpClient,
|
||||||
) {
|
) {
|
||||||
fun build(context: Context) =
|
fun build(context: Context): ExoPlayer =
|
||||||
ExoPlayer
|
ExoPlayer
|
||||||
.Builder(context)
|
.Builder(context)
|
||||||
.apply {
|
.apply {
|
||||||
|
|||||||
Reference in New Issue
Block a user