Suggested Answer:C🗳️
To specify the options menu for an activity, override onCreateOptionsMenu(). When the user selects an item from the options menu (including action items in the app bar), the system calls your activity's onOptionsItemSelected() method. This method passes the MenuItem selected. You can identify the item by calling getItemId(), which returns the unique ID for the menu item (defined by the android:id attribute in the menu resource or with an integer given to the add() method). You can match this ID against known menu items to perform the appropriate action. For example: @Override public boolean onOptionsItemSelected(MenuItem item) { Etc. References: http://developer.android.com/guide/topics/ui/menus.html
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Mmadi
1 year, 12 months agoMmadi
1 year, 12 months ago