Skip to content

Commit 12e8eec

Browse files
committed
Formatted usage steps in README.md to bold for better readability
1 parent 4b7af8f commit 12e8eec

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ dependencies {
2020

2121
## Usage
2222

23-
1. Apply the mutating function
23+
**1- Apply the mutating function**
2424

2525
**Java** ([Java 8+](https://developer.android.com/studio/write/java8-support) required)
2626

@@ -42,7 +42,7 @@ val mutableDataSourceFactory = dataSourceFactory.mutateByPage { original ->
4242
> **Important**
4343
> The mutating function is applied per page. You will need to be careful in cases such as adding items at every page without taking into account that the `original` list has already loaded all items (page is empty), as it could lead to a never ending list.
4444
45-
2. Build the LiveData PagedList
45+
**2- Build the LiveData PagedList**
4646

4747
Generating the `LiveData<PagedList>` instance from the `MutableDataSource.Factory` is the same as with the regular `DataSource.Factory`. However, instead of using `LivePagedListBuilder` to do so, `MutableLivePagedListBuilder` should be used:
4848

0 commit comments

Comments
 (0)