dropdown

fun <T : TextInputLayout> T.dropdown(context: Context, @LayoutRes itemLayout: Int, items: List<Any>, filter: Boolean = false, onItemChange: (Int) -> Unit? = null): T