CommunityToolkit / CommunityToolkit/MVVM-Samples
Different viewmodels instances of same type
Open
- Dominant language
- No language data
- Stars
- 1.4k
- Forks
- 265
- PR merge metrics
- No merged PRs in 30d
Description
Hi.
Should I use, say, 2 instances of same viewmodel in 2 different views (e.g. side-by-side panels), how could I initialize such viewmodels properly (e.g. passing "left" and "right" context/initialization argument to each viewmodel)?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.