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

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

问题描述

是否有任何关于如何最好地在任何地方构建 android 应用程序的好的示例或教程?

are there any good examples or tutorials on how best to structure an android applications anywhere?

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

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.

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天全站免登陆