setSize

abstract fun setSize(width: Int, height: Int)

Set the width and height of the View that will be passed to the subsequent mount(ViewGroup), bind(ViewGroup) and unmount(ViewGroup) calls. Can be called by any thread.

Parameters

width

Usually the view width minus horizontal padding.

height

Usually the view height minus vertical padding.