How To Activate Home Button Listener In android.widget.ActionBar

Actually, there is no need to set a listener for the Home button in android.widget.ActionBar. Simply override the onOptionsItemSelected(MenuItem item) method and you will be good to go.

Check out this short code:

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

Your email address will not be published. Required fields are marked *