* add year and maturityRatings to MediaFragment * don't show season selection if only one season is present
12 lines
271 B
Kotlin
12 lines
271 B
Kotlin
package org.mosad.teapod.util
|
|
|
|
import android.widget.TextView
|
|
|
|
fun TextView.setDrawableTop(drawable: Int) {
|
|
this.setCompoundDrawablesWithIntrinsicBounds(0, drawable, 0, 0)
|
|
}
|
|
|
|
fun <T> concatenate(vararg lists: List<T>): List<T> {
|
|
return listOf(*lists).flatten()
|
|
}
|