File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change 12
12
Tired of creating 100s of Adapters and View Models.
13
13
This Library will make it easy, No need to create a Adapter, ViewHolder for every list
14
14
15
- ## How?
15
+ ![ Cover Image] ( https://repository-images.githubusercontent.com/232743178/c14ced39-c916-4ceb-a868-c19bcbcf87f1 )
16
+
17
+ ## 🤔 How?
16
18
Using Resource Pattern to find the status of the list and show view types according to that.
17
19
18
20
@@ -35,12 +37,14 @@ dependencies {
35
37
}
36
38
```
37
39
38
- ## Used in this Project
40
+ ## 🛠️ Used in this Project
39
41
40
42
* [ List Adapter] ( https://developer.android.com/reference/androidx/recyclerview/widget/ListAdapter )
41
43
* [ Async DiffUtil] ( https://developer.android.com/reference/androidx/recyclerview/widget/DiffUtil )
42
44
* [ Resource & Status Util Classes] ( https://blog.mindorks.com/mvvm-architecture-android-tutorial-for-beginners-step-by-step-guide )
43
- ## Features
45
+
46
+
47
+ ## 🤩 Features
44
48
45
49
- Normal Listing
46
50
- Loading + Listing (Showing shimmer items for Loading then showing the actual Listing)
@@ -143,7 +147,7 @@ Type will be String.
143
147
- * resourceLoading* = loading layout id.
144
148
- * defaultLoadingItems* = Items you want to show while loading.
145
149
146
- ** error** = Layout to be shown when Status == STatus .ERROR.
150
+ ** error** = Layout to be shown when Status == Status .ERROR
147
151
- * errorLayout* = error layout id.
148
152
- * listener* = Pass the interface you want to send to your error layout.
149
153
You can’t perform that action at this time.
0 commit comments