android模型视图演示者/控制器示例 [英] android model view presenter/controller examples
问题描述
是新的java和android,我已经构建了winforms应用程序使用被动并且在asp.net中监督模型视图演示者和模型视图控制器的控制器变体,但并没有真正看到使用这些模式的Android上的任何示例或代码。
人们在野外组织体面的Android应用程序。有没有任何最佳做法,或者我应该严格遵守官方的android文档。
尝试使用以下两个示例。我发现它们有助于了解MVP如何应用于Android应用程序。
http://web.archive.org/web/20130525044856/http://jamespeckham.com/Blog/10-11-21/MVP_on_Android .aspx
are there any good examples or tutorials on how best to structure an android applications anywhere?
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.
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.
Try with the following two examples. I've found them useful in understanding how MVP might apply to Android applications.
http://web.archive.org/web/20130525044856/http://jamespeckham.com/Blog/10-11-21/MVP_on_Android.aspx
这篇关于android模型视图演示者/控制器示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!