Closed hougys closed 11 months ago
in richview.kt private fun init() = AnkoContext.createDelegate(this).apply { gravity = CENTER
I need add var gravity,why?
Error super, how to fix it?
constructor(context: Context?, attrs: AttributeSet?, defStyleAttr: Int) : super(context, attrs, defStyleAttr) { init() }
The issue is closed as Anko is deprecated.
in richview.kt private fun init() = AnkoContext.createDelegate(this).apply { gravity = CENTER
I need add var gravity,why?