Sergio Casero
11/12/2019, 6:58 PMprotected fun onRetry(error: Error, retry: () -> Unit): Unit = view.showRetry(errorHandler.convert(error)) { retry() }
Where view
is an interface that activities
or view controllers
implement
On android everything work as expected, the showRetry() function is called, but... on iOS, the app doesn't crash but showRetry()
is not called
The thing is that xCode detects the function, and I need to implement it as expected, but the function is never calledSam Schilling
11/12/2019, 10:05 PMonRetry
get called on iOS? Where do you call it?Sergio Casero
11/13/2019, 7:42 AMSergio Casero
11/13/2019, 7:43 AMSergio Casero
11/13/2019, 7:44 AM