The name Result seems confusing to me #830
BaruchMelio
started this conversation in
General
Replies: 1 comment 1 reply
-
As far as name collisions, this is an unfortunate side effect of naming things and is why we have namespaces.
It's used to construct UI state inside ViewModels but is never exposed directly to the UI. Open to suggestions for a better name. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I know it's minor but would like to hear your opinion about it.
The name "Result" implies a result of some specific operation and also conflicts with
kotlin.Result
.The
Result
class in NIA seems to represent a continuous state rather than a result of a specific operation. In addition, It is used for the ui state so maybe there's some more appropriate name for it?Beta Was this translation helpful? Give feedback.
All reactions