In Screens in app:watch UIs, kotlin forces us to cast the state of LoadableData:
is LoadableData.Error -> {
ErrorView(errorMessage = errorViewMapper((state.marketList as LoadableData.Error).error))
}
And it says:
Smart cast to 'LoadableData. Error' is impossible, because 'state. marketList' is a public API property declared in different module.
In Screens in app:watch UIs, kotlin forces us to cast the state of
LoadableData:And it says:
Smart cast to 'LoadableData. Error' is impossible, because 'state. marketList' is a public API property declared in different module.