Skip to content

Commit e37ea17

Browse files
author
邹铭杰
committed
v0.0.2:Add Comment For Empty List
1 parent 2b83e2b commit e37ea17

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed

core-paginglist/src/main/java/com/kevinnzou/compose/core/paginglist/easylist/PagingLazyColumn.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ import com.kevinnzou.compose.core.paginglist.widget.*
2020
* @param errorContent the content will show when list encounters an error data. By default this will use a [DefaultErrorContent]
2121
* @param refreshingContent the content will show when list is loading data. By default this will use a [DefaultRefreshingContent]
2222
* @param firstLoadErrorContent the content will show when list encounters an error data. By default this will use a [DefaultFirstLoadErrorContent]
23+
* @param emptyListContent the content will show when list encounters an empty list. By default this will use a [DefaultEmptyListContent]
2324
* @param pagingItemContent the content for real paging item
2425
*/
2526
@Composable

core-paginglist/src/main/java/com/kevinnzou/compose/core/paginglist/easylist/PagingLazyRow.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ import com.kevinnzou.compose.core.paginglist.widget.*
2222
* @param errorContent the content will show when list encounters an error data. By default this will use a [DefaultErrorContent]
2323
* @param refreshingContent the content will show when list is loading data. By default this will use a [DefaultRefreshingContent]
2424
* @param firstLoadErrorContent the content will show when list encounters an error data. By default this will use a [DefaultFirstLoadErrorContent]
25+
* @param emptyListContent the content will show when list encounters an empty list. By default this will use a [DefaultEmptyListContent]
2526
* @param pagingItemContent the content for real paging item
2627
*/
2728
@Composable

core-paginglist/src/main/java/com/kevinnzou/compose/core/paginglist/widget/PagingListContainer.kt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ import androidx.paging.compose.LazyPagingItems
1414
* @param pagingData the paging data
1515
* @param refreshingContent the content will show when list is loading data. By default this will use a [DefaultRefreshingContent]
1616
* @param firstLoadErrorContent the content will show when list encounters an error data. By default this will use a [DefaultFirstLoadErrorContent]
17+
* @param emptyListContent the content will show when list encounters an empty list. By default this will use a [DefaultEmptyListContent]
1718
* @param listContent the real list content
1819
*/
1920
@Composable

0 commit comments

Comments
 (0)