https://kotlinlang.org logo
m

miha-x64

02/06/2017, 7:41 PM
@kevinmost there's no way to know you custom view's type parameter value at compile-time. Instead of using unchecked cast, you can create this view programmatically (e. g. with Anko) 🙂