https://kotlinlang.org logo
#codereview
Title
# codereview
u

ursus

08/25/2019, 12:00 AM
what Im kind of uneasy is the RequestPin and Ok substate is duplicated everywhere, its essentially the same thing, but it matters in which mode (parent) its in, so, is the way I sliced the states correct?
b

Brendan Weinstein

12/12/2019, 4:52 AM
Perhaps the Ok state for each sealed class will require different input parameters in the future. Duplication will allow you that flexibility
2 Views