NetworkOperationState and RequestNetworkOperationModel for tracking network request state. Just like GeneralDataLoadingState but without empty state.
This commit is contained in:
@@ -64,7 +64,7 @@ open class GeneralDataLoadingViewModel<ResultType>: BaseViewModel {
|
||||
|
||||
/// Returns current result if it exists.
|
||||
public var currentResult: ResultType? {
|
||||
return currentLoadingState.currentResult
|
||||
return currentLoadingState.result
|
||||
}
|
||||
|
||||
/// Current state of loading process.
|
||||
|
||||
Reference in New Issue
Block a user