android模型视图演示者/控制器示例 [英] android model view presenter/controller examples

查看:92
本文介绍了android模型视图演示者/控制器示例的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有没有什么好的例子或教程如何最好地构建一个Android应用程序在任何地方?



是新的java和android,我已经构建了winforms应用程序使用被动并且在asp.net中监督模型视图演示者和模型视图控制器的控制器变体,但并没有真正看到使用这些模式的Android上的任何示例或代码。



人们在野外组织体面的Android应用程序。有没有任何最佳做法,或者我应该严格遵守官方的android文档。

解决方案

尝试使用以下两个示例。我发现它们有助于了解MVP如何应用于Android应用程序。



http://web.archive.org/web/20120524010643/http://chicagoandroid.com/forum/topics/ mvp-android-perspective



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/20120524010643/http://chicagoandroid.com/forum/topics/mvp-android-perspective

http://web.archive.org/web/20130525044856/http://jamespeckham.com/Blog/10-11-21/MVP_on_Android.aspx

这篇关于android模型视图演示者/控制器示例的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆