Skip to content

Instantly share code, notes, and snippets.

@Desuuuu
Desuuuu / ListPopupWindow.kt
Last active February 19, 2021 15:16
ListPopupWindow with proper WRAP_CONTENT support
import android.content.Context
import android.util.AttributeSet
import android.view.View
import android.view.ViewGroup
import android.widget.ListAdapter
import androidx.appcompat.widget.ListPopupWindow as AndroidListPopupWindow
open class ListPopupWindow : AndroidListPopupWindow {
private val context: Context

Keybase proof

I hereby claim:

  • I am Desuuuu on github.
  • I am desuuuu (https://keybase.io/desuuuu) on keybase.
  • I have a public key whose fingerprint is 91E9 099D B385 DE1E ACD5 4AC9 8594 3F4B 2C2C E0DC

To claim this, I am signing this object: