zsmb
05/25/2020, 5:39 PMAdam Powell
05/25/2020, 5:56 PMzsmb
05/25/2020, 6:00 PMcurioustechizen
05/25/2020, 7:35 PMuploadProgressText.isVisible = viewState.shouldShowUploadProgress
The logic is now moved to the ViewModel and the view is as dumb as possible: It just sets some properties on a bunch of views. This way we can write more tests in ViewModels and avoid testing views.
Admittedly this is not perfect. There are situations where we cannot keep the ViewState shallow, but in general its works well for us.bezrukov
05/25/2020, 10:24 PMAshish
05/26/2020, 2:16 PMColton Idle
05/27/2020, 4:42 AMzsmb
05/27/2020, 5:01 AMColton Idle
05/27/2020, 6:29 AMAshish
05/27/2020, 7:24 AMAdam Powell
05/27/2020, 12:56 PMAdam Powell
05/27/2020, 12:59 PMAshish
05/27/2020, 3:39 PMColton Idle
05/27/2020, 4:31 PMAntoine Gagnon
06/01/2020, 9:09 PMColton Idle
06/17/2020, 5:57 PMAdam Powell
06/17/2020, 6:00 PMColton Idle
06/17/2020, 6:01 PMAdam Powell
06/17/2020, 6:02 PMAdam Powell
06/17/2020, 6:04 PM