Review notes

This commit is contained in:
Pavel Lukandiy 2018-05-22 14:03:40 +03:00
parent c49a05270f
commit 360bcde3f9
2 changed files with 9 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Changelog
### 0.7.14
- **Update**: `PaginationWrapper` separating state views from data loading.
- **[Breaking Change]**: `PaginationWrapper` separating state views from data loading.
### 0.7.13
- **Update**: Migrate from `Variable` to `BehaviorRelay`.

View File

@ -44,3 +44,11 @@ public protocol PaginationWrapperDelegate: class {
/// Handles empty data state.
func clearData()
}
public extension PaginationWrapperDelegate
where DataSourceType: ResettableRxDataSourceCursor,
DataSourceType.ResultType == [DataSourceType.Element] {
/// Convenient typealias.
typealias PaginationWrapperType = PaginationWrapper<DataSourceType, Self>
}