suchen

Heim  >  Fragen und Antworten  >  Hauptteil

Android MVP架构

迷茫迷茫2768 Tage vor617

Antworte allen(2)Ich werde antworten

  • ringa_lee

    ringa_lee2017-04-17 16:57:10

    提出来的只是一个思想,只要你看一篇介绍MVP的文章就能明白这个思想。
    不是说提出者就一定会介绍在Android上怎么使用MVP云云。
    如果你想看比较好的Android MVP的介绍,可以看谷歌官方给出的示例:https://github.com/googlesamples/android-architecture

    Antwort
    0
  • 黄舟

    黄舟2017-04-17 16:57:10

    The model-view-presenter software pattern originated in the early 1990s at Taligent, a joint venture of Apple, HP, and IBM, and was the underlying programming model for application development in Taligent's C++-based CommonPoint environment. The pattern was later migrated by Taligent to Java and popularized in a paper by Taligent CTO Mike Potel.3] After Taligent's demise in 1997, Andy Bower and Blair McGlashan of Dolphin Smalltalk adapted the MVP pattern to form the basis for their Smalltalk user interface framework.[4] In 2006, Microsoft began incorporating MVP into their documentation and examples for user interface programming in the .NET framework.[5 The evolution and multiple variants of the MVP pattern, including the relationship of MVP to other design patterns such as MVC, is discussed in detail in an article by Martin Fowler[7] and another by Derek Greer[8]

    这一段话引用自Wikipedia
    大概意思就是又Taligent公司提出的用于自家的CommonPoint C++环境,后来又由Taligent的CTO Mike Potel的论文推广开来。

    Antwort
    0
  • StornierenAntwort