Home | History | Annotate | Download | only in com.example.android.shareactionprovider

Lines Matching refs:ShareActionProvider

17 package com.example.android.shareactionprovider;
19 import com.example.android.shareactionprovider.content.ContentItem;
27 import android.support.v7.widget.ShareActionProvider;
39 * This sample shows you how a provide a {@link ShareActionProvider} with ActionBarCompat,
43 * text. When a new item is selected in the ViewPager, the ShareActionProvider is updated with
52 // Keep reference to the ShareActionProvider from the menu
53 private ShareActionProvider mShareActionProvider;
81 // Now get the ShareActionProvider from the item
82 mShareActionProvider = (ShareActionProvider) MenuItemCompat.getActionProvider(shareItem);
163 // Now update the ShareActionProvider with the new share intent
170 * A OnPageChangeListener used to update the ShareActionProvider's share intent when a new item