Archived
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:
@@ -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
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user