Merge "Dismiss action menu when item is clicked." into tm-qpr-dev
This commit is contained in:
@@ -174,6 +174,7 @@ object UserSwitcherViewBinder {
|
|||||||
setOnItemClickListener { _, _, position, _ ->
|
setOnItemClickListener { _, _, position, _ ->
|
||||||
val itemPositionExcludingHeader = position - 1
|
val itemPositionExcludingHeader = position - 1
|
||||||
adapter.getItem(itemPositionExcludingHeader).onClicked()
|
adapter.getItem(itemPositionExcludingHeader).onClicked()
|
||||||
|
dismiss()
|
||||||
}
|
}
|
||||||
|
|
||||||
show()
|
show()
|
||||||
|
|||||||
Reference in New Issue
Block a user