setSize

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

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

Parameters

width

Usually the view width minus horizontal padding.

height

Usually the view height minus vertical padding.