Reputation: 1399
I have implemented the share icon in the actionbar. After you press on it, and then pick which source you want to share it to, the icon widens and shows the last source you shared with.
I don't want the second icon to pop up after they select a source. How do I stop the second icon from appearing?
Upvotes: 2
Views: 496
Reputation: 1006799
Fork ShareActionProvider
and get rid of it. There's no option to control this behavior. As another SO person has discovered, forking ShareActionProvider
is tedious.
Upvotes: 2