remove bad func

androidx
Zhanty 5 years ago
parent 90df0fded0
commit 1a34c1c7e3
  1. 9
      lib_base/src/main/java/com/android/base/data/Resource.kt

@ -40,12 +40,3 @@ inline fun <T> Resource<T>.onSuccessWithData(onSuccess: (data: T) -> Unit): Reso
} }
return this return this
} }
val <T> Resource<T>?.isFailed
get() = this != null && this.isError
val <T> Resource<T>?.isSucceeded
get() = this != null && this.isSuccess
val <T> Resource<T>?.inLoading
get() = this != null && this.isLoading
Loading…
Cancel
Save