ShareActionProvider Not Clickable

Okay, so you created a social share menu item and inflated it in your ActionBar making it look like this.

shareactionprovider

Then, when you click on it, nothing happens. How so?

You need to attach a share Intent in the ShareActionProvider object. Add this sample short piece of code after your menu gets inflated.

That should make it clickable.

Related Posts Plugin for WordPress, Blogger...

Leave a Reply

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