Kotlin / anko-example

A small application built with Anko DSL
https://github.com/JetBrains/anko
Apache License 2.0
284 stars 64 forks source link

one error in richview.kt #16

Closed hougys closed 11 months ago

hougys commented 6 years ago

in richview.kt private fun init() = AnkoContext.createDelegate(this).apply { gravity = CENTER

I need add var gravity,why?

thoaihuynhnguyen commented 4 years ago

Error super, how to fix it?

constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr) { init() }

yanex commented 11 months ago

The issue is closed as Anko is deprecated.