Text Basic 2.0.0: quick fix on the dropdown menu, implemented a custom DropdownAdapter.kt because a bug on the dropdown menus from years ago still has not been fixed... I encountered this bug in a project back in 2019. How is this still a thing?

This commit is contained in:
denizk0461
2023-05-17 10:22:55 +02:00
parent 5636f1e679
commit 447ca4ecb2
10 changed files with 59 additions and 5 deletions
@@ -0,0 +1,16 @@
package com.denizd.textbasic.view
import android.content.Context
import android.util.AttributeSet
import com.google.android.material.textfield.MaterialAutoCompleteTextView
class ExposedDropdownMenu @JvmOverloads constructor(
context: Context,
attrs: AttributeSet? = null,
defStyleAttr: Int = 0,
) : MaterialAutoCompleteTextView(context, attrs, defStyleAttr) {
override fun getFreezesText(): Boolean {
return false
}
}