Skip to content

Commit c7c98ed

Browse files
committed
2 parents ff0da98 + 36e8789 commit c7c98ed

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
Tired of creating 100s of Adapters and View Models.
1313
This Library will make it easy, No need to create a Adapter, ViewHolder for every list
1414

15-
## How?
15+
![Cover Image](https://repository-images.githubusercontent.com/232743178/c14ced39-c916-4ceb-a868-c19bcbcf87f1)
16+
17+
## 🤔 How?
1618
Using Resource Pattern to find the status of the list and show view types according to that.
1719

1820

@@ -35,12 +37,14 @@ dependencies {
3537
}
3638
```
3739

38-
## Used in this Project
40+
## 🛠️ Used in this Project
3941

4042
* [List Adapter](https://developer.android.com/reference/androidx/recyclerview/widget/ListAdapter)
4143
* [Async DiffUtil](https://developer.android.com/reference/androidx/recyclerview/widget/DiffUtil)
4244
* [Resource & Status Util Classes](https://blog.mindorks.com/mvvm-architecture-android-tutorial-for-beginners-step-by-step-guide)
43-
## Features
45+
46+
47+
## 🤩 Features
4448

4549
- Normal Listing
4650
- Loading + Listing (Showing shimmer items for Loading then showing the actual Listing)
@@ -143,7 +147,7 @@ Type will be String.
143147
- *resourceLoading* = loading layout id.
144148
- *defaultLoadingItems* = Items you want to show while loading.
145149

146-
**error** = Layout to be shown when Status == STatus.ERROR.
150+
**error** = Layout to be shown when Status == Status.ERROR
147151
- *errorLayout* = error layout id.
148152
- *listener* = Pass the interface you want to send to your error layout.
149153

0 commit comments

Comments
 (0)