Setting the dropdown for the action bar item
问题 I am setting the action bar and item by the below code and the respective image1 is shown. When the user clicks on show bookmark screen action item, it goes to other activity. In that activity I want another item( SELECT BOOKMARK TYPE ) to be displayed in the place of SHOW BOOKMARK SCREEN . So I am thinking to managing it with abstract class by setting the respective things to true or false as shown below. But now I am unable to get two things. 1) How to differentiate in case 0 for both