找回密码
 立即注册
在ActionBar中增加共享功能会使得使用更加高效友爱。Android4.0(API等级14)引进的ActionProvider类使得共享功能变得更加的简单。一旦ActionProvider被绑定到ActionBar的一个菜单中,它就能管理那一项的显示和反响。在ShareActionProvider的实例中,只需提供共享的Intent,其他的会被ShareActionProvider自行管理。

(Adding the sharing function in ActionBar will make the use more efficient and friendly. The ActionProvider class introduced by Android 4.0 (API level 14) makes sharing functions easier. Once the ActionProvider is bound to a menu in the ActionBar, it can manage the display and response of that item. In the instance of ShareActionProvider, only the shared Intent needs to be provided, and the rest will be managed by the ShareActionProvider itself.)

[下载]13162962986.rar




上一篇:OtherActivity
下一篇:android-support-v4和w.song.android.widget-1.0.4的jar包