Closed khoben closed 3 years ago
Please complete the following information:
v2.1.9
Xiaomi Mi 9 with Android 10
Describe the Bug:
createPowerMenu(this) { setHeaderView(R.layout.power_menu_header) ... }.apply { setOnMenuItemClickListener { position, item -> position // incremented by one } }
The item index is incremented by one if the headerView is set.
Expected Behavior:
Getting actual item index.
Please complete the following information:
v2.1.9
Xiaomi Mi 9 with Android 10
Describe the Bug:
The item index is incremented by one if the headerView is set.
Expected Behavior:
Getting actual item index.