Skip to content

Is it possible to use a generic ViewModel with single View? #330

Answered by canton7
Catalan-1ap asked this question in Q&A
Discussion options

You must be logged in to vote

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)

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@Catalan-1ap
Comment options

@Catalan-1ap
Comment options

@canton7
Comment options

@Catalan-1ap
Comment options

@canton7
Comment options

Answer selected by Catalan-1ap
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants