use of org.aisen.android.ui.activity.container.FragmentArgs in project AisenWeiBo by wangdan.
the class SearchFragment method launch.
public static void launch(Activity from, String q) {
FragmentArgs args = new FragmentArgs();
args.add("q", q);
SinaCommonActivity.launch(from, SearchFragment.class, args);
from.overridePendingTransition(-1, -1);
}
use of org.aisen.android.ui.activity.container.FragmentArgs in project AisenWeiBo by wangdan.
the class AboutWebFragment method launchOpensource.
public static void launchOpensource(Activity from) {
FragmentArgs args = new FragmentArgs();
args.add("type", 2);
SinaCommonActivity.launch(from, AboutWebFragment.class, args);
}
use of org.aisen.android.ui.activity.container.FragmentArgs in project AisenWeiBo by wangdan.
the class PicturePickFragment method launch.
public static void launch(ABaseFragment from, int maxSize, String[] pics, int requestCode) {
FragmentArgs args = new FragmentArgs();
args.add("maxSize", maxSize + "");
args.add("pics", pics);
SinaCommonActivity.launchForResult(from, PicturePickFragment.class, args, requestCode);
}
use of org.aisen.android.ui.activity.container.FragmentArgs in project AisenWeiBo by wangdan.
the class FriendshipPagerFragment method launch.
/**
* 用户关系
*
* @param from
* @param user
* @param type 1:粉丝 0:关注 2:互粉
*/
public static void launch(Activity from, WeiBoUser user, int type) {
FragmentArgs args = new FragmentArgs();
args.add("user", user);
args.add(SET_INDEX, type);
SinaCommonActivity.launch(from, FriendshipPagerFragment.class, args);
}
use of org.aisen.android.ui.activity.container.FragmentArgs in project AisenWeiBo by wangdan.
the class AboutWebFragment method launchAbout.
public static void launchAbout(Activity from) {
FragmentArgs args = new FragmentArgs();
args.add("type", 0);
// SinaCommonActivity.launch(from, AboutWebFragment.class, args);
Intent intent = new Intent(from, BrowserActivity.class);
intent.setAction(Intent.ACTION_VIEW);
intent.putExtra("url", SettingUtility.getStringSetting("about_url"));
from.startActivity(intent);
}
Aggregations