Alan Evans
12/05/2018, 3:02 PMsergey.trufanov
12/05/2018, 3:05 PMAlan Evans
12/05/2018, 3:09 PMclass MyGridLayoutManager: GridLayoutManager
and your code should still work as though it's a GridLayoutManager
.
If you look at specific classes, your code is not allowing substitution.when
cases to overlap. a when
block is like a chain of if else
, when you think about it like that, specifying order makes sense, it's not strange.sergey.trufanov
12/05/2018, 3:53 PM