本文整理了Java中android.support.v4.content.Loader.isStarted()
方法的一些代码示例,展示了Loader.isStarted()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Loader.isStarted()
方法的具体详情如下:
包路径:android.support.v4.content.Loader
类名称:Loader
方法名:isStarted
[英]Return whether this load has been started. That is, its #startLoading()has been called and no calls to #stopLoading() or #reset() have yet been made.
[中]返回此加载是否已启动。也就是说,它的#startLoading()已被调用,但尚未调用#stopLoading()或#reset()。
代码示例来源:origin: k9mail/k-9
private boolean hasLoadingAttachments() {
for (Attachment attachment : attachments.values()) {
Loader loader = loaderManager.getLoader(attachment.loaderId);
if (loader != null && loader.isStarted()) {
return true;
}
}
return false;
}
代码示例来源:origin: square/assertj-android
public S isStarted() {
isNotNull();
assertThat(actual.isStarted()) //
.overridingErrorMessage("Expected to be started but was not started.") //
.isTrue();
return myself;
}
代码示例来源:origin: square/assertj-android
public S isNotStarted() {
isNotNull();
assertThat(actual.isStarted()) //
.overridingErrorMessage("Expected to not be started but was started.") //
.isFalse();
return myself;
}
}
代码示例来源:origin: nglauber/dominando_android2
private boolean estaCarregando(int id) {
Loader<?> loader = mLoaderManager.getLoader(id);
if (loader != null && loader.isStarted()) {
return true;
}
return false;
}
LoaderManager.LoaderCallbacks<List<Address>> mBuscaLocalCallback =
内容来源于网络,如有侵权,请联系作者删除!