机器人模型视图presenter /控制器的例子 [英] android model view presenter/controller examples
问题描述
在那里就如何最好地在任何地方搭建一个Android应用程序的任何很好的例子或教程?
are there any good examples or tutorials on how best to structure an android applications anywhere?
是新来的Java和Android和我已经建立了的WinForms使用的模型图presenter和asp.net模型视图控制器,但没有真正看到在Android上的任何实例或code被动和监督控制的变体应用服务使用模式这些类型。
am new to java and android and i've built winforms apps using passive and supervising controller variants of model view presenter and model view controller in asp.net but not really seen any examples or code on android that use these sorts of patterns.
怎么办人民结构体面的大小Android应用程序赫然出现在野外。请问有什么最佳做法或我应该被牢固地粘在Android官方文档。
how do people structure decent size android apps out there in the wild. are there any best practices or should i be sticking rigidly to official android documentation.
推荐答案
尝试使用下面的两个例子。我发现它们非常有用了解MVP如何应用到Android应用程序。
Try with the following two examples. I've found them useful in understanding how MVP might apply to Android applications.
<一个href="http://web.archive.org/web/20120524010643/http://chicagoandroid.com/forum/topics/mvp-android-perspective" rel="nofollow">http://web.archive.org/web/20120524010643/http://chicagoandroid.com/forum/topics/mvp-android-perspective
<一个href="http://web.archive.org/web/20130525044856/http://jamespeckham.com/Blog/10-11-21/MVP_on_Android.aspx" rel="nofollow">http://web.archive.org/web/20130525044856/http://jamespeckham.com/Blog/10-11-21/MVP_on_Android.aspx
这篇关于机器人模型视图presenter /控制器的例子的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!