本文整理汇总了Java中com.example.jingbin.cloudreader.base.BaseFragment类的典型用法代码示例。如果您正苦于以下问题:Java BaseFragment类的具体用法?Java BaseFragment怎么用?Java BaseFragment使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
BaseFragment类属于com.example.jingbin.cloudreader.base包,在下文中一共展示了BaseFragment类的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: BigAndroidViewModel
import com.example.jingbin.cloudreader.base.BaseFragment; //导入依赖的package包/类
public BigAndroidViewModel(BaseFragment activity, String mType) {
this.activity = activity;
this.mType = mType;
mACache = ACache.get(CloudReaderApplication.getInstance());
mModel = new GankOtherModel();
}
示例2: EverydayViewModel
import com.example.jingbin.cloudreader.base.BaseFragment; //导入依赖的package包/类
public EverydayViewModel(BaseFragment activity) {
this.activity = activity;
mEverydayModel = new EverydayModel();
mEverydayModel.setData(getTodayTime().get(0), getTodayTime().get(1), getTodayTime().get(2));
}
示例3: WelfareViewModel
import com.example.jingbin.cloudreader.base.BaseFragment; //导入依赖的package包/类
public WelfareViewModel(BaseFragment activity) {
this.activity = activity;
mModel = new GankOtherModel();
mACache = ACache.get(CloudReaderApplication.getInstance());
}
示例4: CustomViewModel
import com.example.jingbin.cloudreader.base.BaseFragment; //导入依赖的package包/类
public CustomViewModel(BaseFragment activity) {
this.activity = activity;
mModel = new GankOtherModel();
}