本文整理汇总了Java中com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState类的典型用法代码示例。如果您正苦于以下问题:Java LceViewState类的具体用法?Java LceViewState怎么用?Java LceViewState使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。
LceViewState类属于com.hannesdorfmann.mosby.mvp.viewstate.lce包,在下文中一共展示了LceViewState类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: setViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override public void setViewState(ViewState<V> viewState) {
if (!(viewState instanceof LceViewState)) {
throw new IllegalArgumentException(
"Only " + LceViewState.class.getSimpleName() + " are allowed as view state");
}
this.viewState = (LceViewState<M, V>) viewState;
}
示例2: setViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override
public void setViewState(ViewState<V> viewState)
{
if (!(viewState instanceof LceViewState))
{
throw new IllegalArgumentException("Only " + LceViewState.class.getSimpleName() + " are allowed as view state");
}
this.viewState = (LceViewState<M, V>) viewState;
}
示例3: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Source>, HomeView> createViewState() {
return new RetainingLceViewState<>();
}
示例4: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Article>, ArticlesView> createViewState() {
return new RetainingLceViewState<>();
}
示例5: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override
public LceViewState<List<Image>, GalleryView> createViewState() {
return new RetainingLceViewState<>();
}
示例6: setViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override public void setViewState(ViewState<V> viewState) {
this.viewState = (LceViewState<M, V>) viewState;
}
示例7: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<ArrayList<Forecast>, MainMvpView> createViewState()
{
return new SerializeableLceViewState<>();
}
示例8: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override
public LceViewState<List<Shot>, ProjectContract.View> createViewState() {
return new RetainingLceViewState<>();
}
示例9: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, LikesViewContract.View> createViewState() {
return new RetainingLceViewState<>();
}
示例10: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, UserShotsContract.View> createViewState() {
return new RetainingLceViewState<>();
}
示例11: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override
public LceViewState<List<BucketWithShots>, UserBucketsContract.View> createViewState() {
return new RetainingLceViewState<>();
}
示例12: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<ProjectWithShots>, ProjectsContract.View> createViewState() {
return new RetainingLceViewState<>();
}
示例13: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<BucketWithShots>, BucketsFragmentContract.View> createViewState() {
return new RetainingLceViewState<>();
}
示例14: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, BucketDetailsContract.View> createViewState() {
return new RetainingLceViewState<>();
}
示例15: createViewState
import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, ShotsContract.View> createViewState() {
return new RetainingLceViewState<>();
}