File tree 1 file changed +6
-5
lines changed
1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1
- # Resource [ ![ ] ( https://jitpack.io/v/Irineu333/Resource.svg ) ] ( https://jitpack.io/#Irineu333/Highlight )
1
+ # Resource ![ ] ( https://jitpack.io/v/Irineu333/Resource.svg )
2
2
3
3
Complete solution for handling success, failure, and loading states in Kotlin.
4
4
@@ -29,7 +29,7 @@ when (ordersRepository.getOrders()) {
29
29
30
30
## Extensions
31
31
32
- The library comes with some basi basic [ extensions] ( src/main/kotlin/extension/Resource.kt ) to handle and
32
+ The library comes with some basic [ extensions] ( src/main/kotlin/extension/Resource.kt ) to handle and
33
33
manipulate the states.
34
34
35
35
## kotlin.Result
@@ -54,11 +54,12 @@ suspend fun getOrders(): Resource.Result<List<Order>, String> {
54
54
55
55
## Releases
56
56
57
- Add the jitpack to project in ` build.gradle.kts ` or ` settings.gradle.kts ` :
57
+ The latest release is available on [ JitPack] ( https://jitpack.io/#NeoUtils/Resource ) .
58
+
59
+ Add the jitpack to project in root ` build.gradle.kts ` or ` settings.gradle.kts ` :
58
60
59
61
``` kotlin
60
62
repositories {
61
-
62
63
maven { url = uri(" https://jitpack.io" ) }
63
64
}
64
65
```
@@ -77,4 +78,4 @@ This project is licensed under the terms of the MIT License,
77
78
a permissive open-source license that allows for the use, modification,
78
79
and distribution of the code, provided that copyright notices and
79
80
the license statement are included in all copies or modifications.
80
- ```
81
+ ```
You can’t perform that action at this time.
0 commit comments