How MVVM with DataTemplateSelector is portable from Silverlight to Flex?
问题 I asked a question here about MVVM In MVVM there can be only one View for each one View Model? Answer would be to use DataTemplateSelector to get multiple views. Now let's say I need to port to flex. Does Flex have the same paradigm as DataTemplateSelector ? Since Silverlight claims that it is close to Flex then I'd like to see proofs :) 回答1: Specifically, there is no "DataTemplateSelector". That is not surprising, though, because they are different stacks... (They ARE extremely similar to