Skip to content

Commit

Permalink
Mvp Lce showError function bug
Browse files Browse the repository at this point in the history
  • Loading branch information
X-Chuck committed Nov 14, 2018
1 parent 9b2310e commit 3eb413e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
> 在模块的build.gradle文件中添加如下依赖:
dependencies {
implementation 'com.github.ChadXiao:OkMvp:V1.0.0'
implementation 'com.github.ChadXiao:OkMvp:TAG'
}


Expand All @@ -37,7 +37,7 @@
<dependency>
<groupId>com.github.ChadXiao</groupId>
<artifactId>OkMvp</artifactId>
<version>V1.0.0</version>
<version>TAG</version>
</dependency>

## Sbt ##
Expand All @@ -49,7 +49,7 @@

> 添加依赖:
libraryDependencies += "com.github.ChadXiao" % "OkMvp" % "V1.0.0"
libraryDependencies += "com.github.ChadXiao" % "OkMvp" % "TAG"

## Leiningen ##

Expand All @@ -60,4 +60,4 @@

> 添加依赖
:dependencies [[com.github.ChadXiao/OkMvp "V1.0.0"]]
:dependencies [[com.github.ChadXiao/OkMvp "TAG"]]
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ open class MvpLceViewImpl<D> : MvpLceView<D>{
}

override fun showError(isPullToRefresh: Boolean) {
if (isPullToRefresh){
if (!isPullToRefresh){
animator!!.showErrorView(loadingView!!, contentView!!, errorView!!)
}
}
Expand Down

0 comments on commit 3eb413e

Please sign in to comment.