Android data-binding (similar to WPF)?

后端 未结 8 2035
情话喂你
情话喂你 2020-12-13 12:56

I have searched for some similar questions before posting - however I have a general question when it comes to Android and data binding (and the other answers I check did no

8条回答
  •  有刺的猬
    2020-12-13 13:39

    Since you first asked your question, the landscape has changed a lot.
    Most importantly Stuart Lodge gave us MVVMCross.

    This project provides a cross-platform mvvm mobile development framework built on top of Silverlight for WP7, Mono for Android and MonoTouch for iOS, and the WinRT XAML framework for Windows 8 Store applications This project makes extensive use of Portable Class Libraries to provide maintainable cross platform C# native applications.

    It provides data binding in your Views against ViewModels

    For example, it enables the following:

    
    

    Resources:

    Github Page: https://github.com/slodge/MvvmCross

    Presentation: http://slodge.blogspot.co.uk/2012/12/mvvmcross-video-presentation-xaminar.html

    And a very good introductional tutorial: Building Android Apps with MVVM and Data Binding

提交回复
热议问题