本文整理汇总了Java中com.google.android.apps.iosched.ui.SocialStreamActivity类的典型用法代码示例。如果您正苦于以下问题:Java SocialStreamActivity类的具体用法?Java SocialStreamActivity怎么用?Java SocialStreamActivity使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
SocialStreamActivity类属于com.google.android.apps.iosched.ui包,在下文中一共展示了SocialStreamActivity类的3个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: onOptionsItemSelected
import com.google.android.apps.iosched.ui.SocialStreamActivity; //导入依赖的package包/类
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.menu_social_stream:
Intent intent = new Intent(this, SocialStreamActivity.class);
intent.putExtra(SocialStreamFragment.EXTRA_QUERY,
UIUtils.getSessionHashtagsString(mTrackId));
startActivity(intent);
break;
}
return super.onOptionsItemSelected(item);
}
示例2: startSocialStream
import com.google.android.apps.iosched.ui.SocialStreamActivity; //导入依赖的package包/类
public void startSocialStream(String hashtags) {
Intent intent = new Intent(mActivity, SocialStreamActivity.class);
intent.putExtra(SocialStreamFragment.EXTRA_QUERY, hashtags);
mActivity.startActivity(intent);
}
示例3: startSocialStream
import com.google.android.apps.iosched.ui.SocialStreamActivity; //导入依赖的package包/类
public void startSocialStream(String hashtags) {
Intent intent = new Intent(mActivity, SocialStreamActivity.class);
intent.putExtra(SocialStreamFragment.EXTRA_QUERY, UIUtils.getSessionHashtagsString(hashtags));
mActivity.startActivity(intent);
}