Android MVVM Design Pattern Examples

后端 未结 14 1299
逝去的感伤
逝去的感伤 2020-12-07 07:09

I currently do a lot of WPF development and have started creating some basic Android apps. When creating WPF apps I often use MVVM, normally using Prism, and would like to k

14条回答
  •  醉梦人生
    2020-12-07 07:49

    There is one project called MVVMCross.

    It's free, open-source and well designed MVVM framework, developed by Stuart Lodge.

    He implemented binding for Android and iPhone, so now MVVM is applicable to all of these platforms too.

    For me it is one of the best MVVM frameworks - it really shows the power of MVVM. With it you can write one code (model and viewmodel layers) for different platforms (WP7, Android, iPhone, WinRT) and just change application UI (view layer).

提交回复
热议问题