当前位置: 首页>>代码示例>>Java>>正文


Java LceViewState类代码示例

本文整理汇总了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;
}
 
开发者ID:mkoslacz,项目名称:Moviper,代码行数:9,代码来源:MvpLceViewStateAiActivity.java

示例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;
}
 
开发者ID:jeksor,项目名称:justweather,代码行数:11,代码来源:BaseMvpLceViewStateActivity.java

示例3: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Source>, HomeView> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:kbiakov,项目名称:newsreader-mvp-android,代码行数:6,代码来源:HomeController.java

示例4: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Article>, ArticlesView> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:kbiakov,项目名称:newsreader-mvp-android,代码行数:6,代码来源:ArticlesController.java

示例5: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override
public LceViewState<List<Image>, GalleryView> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:fzymek,项目名称:FunWithAndroid,代码行数:5,代码来源:GalleryActivity.java

示例6: setViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override public void setViewState(ViewState<V> viewState) {
    this.viewState = (LceViewState<M, V>) viewState;
}
 
开发者ID:mkoslacz,项目名称:Moviper,代码行数:4,代码来源:MvpLceViewStateAiFragment.java

示例7: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<ArrayList<Forecast>, MainMvpView> createViewState()
{
	return new SerializeableLceViewState<>();
}
 
开发者ID:jeksor,项目名称:justweather,代码行数:7,代码来源:MainActivity.java

示例8: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override
public LceViewState<List<Shot>, ProjectContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:5,代码来源:ProjectFragment.java

示例9: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, LikesViewContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:6,代码来源:LikesFragment.java

示例10: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, UserShotsContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:6,代码来源:UserShotsFragment.java

示例11: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@Override
public LceViewState<List<BucketWithShots>, UserBucketsContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:5,代码来源:UserBucketsFragment.java

示例12: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<ProjectWithShots>, ProjectsContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:6,代码来源:ProjectsFragment.java

示例13: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<BucketWithShots>, BucketsFragmentContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:6,代码来源:BucketsFragment.java

示例14: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, BucketDetailsContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:6,代码来源:BucketDetailsFragment.java

示例15: createViewState

import com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState; //导入依赖的package包/类
@NonNull
@Override
public LceViewState<List<Shot>, ShotsContract.View> createViewState() {
    return new RetainingLceViewState<>();
}
 
开发者ID:netguru,项目名称:inbbbox-android,代码行数:6,代码来源:ShotsFragment.java


注:本文中的com.hannesdorfmann.mosby.mvp.viewstate.lce.LceViewState类示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。