Is it possible to use a generic ViewModel with single View? #330
Answered
by
canton7
Catalan-1ap
asked this question in
Q&A
-
An attempt to use a generic ViewModel leads to an exception, the problem is that the generic ViewModel name contains a generic type name, and ViewManage cannot find my View. |
Beta Was this translation helpful? Give feedback.
Answered by
canton7
Jan 15, 2022
Replies: 1 comment 5 replies
-
You can, but you'll need to write your own |
Beta Was this translation helpful? Give feedback.
5 replies
Answer selected by
Catalan-1ap
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You can, but you'll need to write your own
ViewManager
which tells Stylet how to find the view which corresponding to a partiuclar ViewModel (with particular generic type arguments)