diff --git a/lib_base/src/main/java/com/android/base/data/Resource.kt b/lib_base/src/main/java/com/android/base/data/Resource.kt index 91f1974..cbdc056 100644 --- a/lib_base/src/main/java/com/android/base/data/Resource.kt +++ b/lib_base/src/main/java/com/android/base/data/Resource.kt @@ -39,13 +39,4 @@ inline fun Resource.onSuccessWithData(onSuccess: (data: T) -> Unit): Reso onSuccess(t) } return this -} - -val Resource?.isFailed - get() = this != null && this.isError - -val Resource?.isSucceeded - get() = this != null && this.isSuccess - -val Resource?.inLoading - get() = this != null && this.isLoading \ No newline at end of file +} \ No newline at end of file