create

fun Spinner.create(@LayoutRes itemLayout: Int, @IdRes textViewId: Int, items: Array<String>, onItemSelected: (String, Int) -> Unit = { _, _ -> })
fun Spinner.create(@LayoutRes itemLayout: Int, @IdRes textViewId: Int, items: MutableList<String>, onItemSelected: (String, Int) -> Unit = { _, _ -> })
fun AutoCompleteTextView.create(@LayoutRes itemLayout: Int, @IdRes textViewId: Int, items: Array<String>, onItemSelected: (String, Int) -> Unit = { _, _ -> })
fun AutoCompleteTextView.create(@LayoutRes itemLayout: Int, @IdRes textViewId: Int, items: MutableList<String>, onItemSelected: (String, Int) -> Unit = { _, _ -> })