如果你还想留下来“纯”MVVM,一般来说,最好建立一个转换器,使逻辑完全在表示层(视图)。
If you want to stay "pure" to MVVM, in general, it'd be better to build a converter, which keeps the logic completely within the presentation layer (View).
如果你还想留下来“纯”MVVM,一般来说,最好建立一个转换器,使逻辑完全在表示层(视图)。
If you want to stay "pure" to MVVM, in general, it'd be better to build a converter, which keeps the logic completely within the presentation layer (View).
应用推荐