本文整理汇总了Java中com.jess.arms.integration.AppManager类的典型用法代码示例。如果您正苦于以下问题:Java AppManager类的具体用法?Java AppManager怎么用?Java AppManager使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
AppManager类属于com.jess.arms.integration包,在下文中一共展示了AppManager类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: snackbarText
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
/**
* 使用 {@link Snackbar} 显示文本消息
*
* @param text
*/
public static void snackbarText(String text) {
Message message = new Message();
message.what = SHOW_SNACKBAR;
message.obj = text;
message.arg1 = 0;
AppManager.post(message);
}
示例2: snackbarTextWithLong
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
/**
* 使用 {@link Snackbar} 长时间显示文本消息
*
* @param text
*/
public static void snackbarTextWithLong(String text) {
Message message = new Message();
message.what = SHOW_SNACKBAR;
message.obj = text;
message.arg1 = 1;
AppManager.post(message);
}
示例3: startActivity
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
/**
* 跳转界面 1 ,通过 {@link AppManager#startActivity(Class)}
*
* @param activityClass
*/
public static void startActivity(Class activityClass) {
Message message = new Message();
message.what = START_ACTIVITY;
message.obj = activityClass;
AppManager.post(message);
}
示例4: CarDetailPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public CarDetailPresenter(CarDetailContract.Model model, CarDetailContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例5: UserPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public UserPresenter(UserContract.Model model, UserContract.View rootView, RxErrorHandler handler
, AppManager appManager, Application application, List<User> list, RecyclerView.Adapter adapter) {
super(model, rootView);
this.mApplication = application;
this.mErrorHandler = handler;
this.mAppManager = appManager;
this.mUsers = list;
this.mAdapter = adapter;
}
示例6: SearchPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public SearchPresenter(SearchContract.Model model, SearchContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例7: VideoPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public VideoPresenter(VideoContract.Model model, VideoContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例8: HistoryPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public HistoryPresenter(HistoryContract.Model model, HistoryContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例9: AttentionPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public AttentionPresenter(AttentionContract.Model model, AttentionContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例10: HotPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public HotPresenter(HotContract.Model model, HotContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例11: SplashPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public SplashPresenter(SplashContract.Model model, SplashContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例12: VideoListActivityPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public VideoListActivityPresenter(VideoListActivityContract.Model model, VideoListActivityContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例13: CategoryPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public CategoryPresenter(CategoryContract.Model model, CategoryContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例14: VideoDetailPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public VideoDetailPresenter(VideoDetailContract.Model model, VideoDetailContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}
示例15: AuthorDetailPresenter
import com.jess.arms.integration.AppManager; //导入依赖的package包/类
@Inject
public AuthorDetailPresenter(AuthorDetailContract.Model model, AuthorDetailContract.View rootView
, RxErrorHandler handler, Application application
, ImageLoader imageLoader, AppManager appManager) {
super(model, rootView);
this.mErrorHandler = handler;
this.mApplication = application;
this.mImageLoader = imageLoader;
this.mAppManager = appManager;
}