Actionbar dropdown click event

前端 未结 1 1719
忘掉有多难
忘掉有多难 2021-02-14 09:41

I have dropdown list in actionbar as navigation list. Using ActionBar.OnNavigationListener and onNavigationItemSelected to detect when user has

1条回答
  •  名媛妹妹
    2021-02-14 10:30

    The problem here is the same as with any other Spinner. The workariund for this is clearly described here: Spinner : onItemSelected not called when selected item remains the same

    However for the ActionBar the solution can be a bit tricky (except for when you are using the ActionBarSherlock and can explicitly mess with its code)

    0 讨论(0)
提交回复
热议问题