本文整理汇总了Java中com.trello.rxlifecycle.components.support.RxAppCompatActivity类的典型用法代码示例。如果您正苦于以下问题:Java RxAppCompatActivity类的具体用法?Java RxAppCompatActivity怎么用?Java RxAppCompatActivity使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
RxAppCompatActivity类属于com.trello.rxlifecycle.components.support包,在下文中一共展示了RxAppCompatActivity类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: BaseApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public BaseApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
setListener(listener);
setRxAppCompatActivity(rxAppCompatActivity);
setShowProgress(false);
setCache(false);
setCancel(true);
setCookieNetWorkTime(60);
setCookieNoNetWorkTime(24*60*60);
}
示例2: AppIntroduceApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public AppIntroduceApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity, String packageName) {
super(listener, rxAppCompatActivity);
this.packgeName = packageName;
setCache(true);
setMothed("appStore/app/introduce?packageName=" + packageName);
}
示例3: AppDetailApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public AppDetailApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity, String packageName) {
super(listener, rxAppCompatActivity);
this.packageName = packageName;
// setCache(true);
setMothed("appStore/app/introduce?packageName=" + packageName);
}
示例4: AppMoreRecommendApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public AppMoreRecommendApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity, String type, String packageName) {
super(listener, rxAppCompatActivity);
this.type = type;
this.packageName = packageName;
setCache(true);
setMothed("appStore/app/" + type + "?packageName=" + packageName);
}
示例5: SubjectPostApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
/**
* 默认初始化需要给定回调和rx周期类
* 可以额外设置请求设置加载框显示,回调等(可扩展)
* @param listener
* @param rxAppCompatActivity
*/
public SubjectPostApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
super(listener,rxAppCompatActivity);
setShowProgress(true);
setCancel(true);
setCache(true);
setMethod("AppFiftyToneGraph/videoLink");
setCookieNetWorkTime(60);
setCookieNoNetWorkTime(24*60*60);
}
示例6: setRxAppCompatActivity
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public void setRxAppCompatActivity(RxAppCompatActivity rxAppCompatActivity) {
this.rxAppCompatActivity = new SoftReference(rxAppCompatActivity);
}
示例7: getRxAppCompatActivity
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public RxAppCompatActivity getRxAppCompatActivity() {
return rxAppCompatActivity.get();
}
示例8: AppRecommendApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public AppRecommendApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity, String packageName) {
super(listener, rxAppCompatActivity);
this.packageName = packageName;
setCache(true);
setMothed("appStore/app/recommend?packageName=" + packageName);
}
示例9: CategorySubscribeApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public CategorySubscribeApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
super(listener, rxAppCompatActivity);
setCache(true);
setMothed("appStore/categorydata/subscribe");
}
示例10: RecommendApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public RecommendApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
super(listener, rxAppCompatActivity);
setCache(true);//设置缓存
setMothed("appstore/recommend");//存入到数据库,传入的值要与接口参数一致
}
示例11: CategoryApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public CategoryApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
super(listener, rxAppCompatActivity);
// setCache(true);//设置缓存
setMothed("appstore/category");//存入到数据库,传入的值要与接口参数一致
}
示例12: CategorySubjectApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public CategorySubjectApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
super(listener, rxAppCompatActivity);
setCache(true);
setMothed("categorydata/subject");
}
示例13: CategoryNewApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public CategoryNewApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
super(listener, rxAppCompatActivity);
}
示例14: AppCommentarieApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public AppCommentarieApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity, String packageName) {
super(listener, rxAppCompatActivity);
this.packageName = packageName;
setCache(true);
setMothed("app/comment??packageName=" + packageName);
}
示例15: TopApi
import com.trello.rxlifecycle.components.support.RxAppCompatActivity; //导入依赖的package包/类
public TopApi(HttpOnNextListener listener, RxAppCompatActivity rxAppCompatActivity) {
super(listener, rxAppCompatActivity);
// setCache(true);//设置缓存
setMothed("appstore/top");//存入到数据库,传入的值要与接口参数一致
}