Migrate library to Kotlin.
This commit is contained in:
@@ -12,4 +12,4 @@ import android.view.ViewGroup
|
||||
*/
|
||||
fun ViewGroup.inflate(@LayoutRes layout: Int, attachToRoot: Boolean = false): View {
|
||||
return LayoutInflater.from(context).inflate(layout, this, attachToRoot)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user