We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 9 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(4)
尝试以下两个示例。我发现它们对于理解 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
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
此外 Mosby 实现了 MVP 模式以及其他一些东西,但它足够模块化,因此您只能使用 MVP部分并忘记其余的。
还有一篇不错的博客文章介绍了这个库的动机和选择
Also Mosby implements an MVP pattern plus other things, but it is modular enough so that you can use only the MVP part and forget about the rest.
There is also a nice blog post covering the motivations and choices of this library
请查看 Android 开发者页面。在那里您将找到所有问题的答案。 Android 中已经存在 MVC。查看这个问题。 此处的视频可以解释您要查找的内容。
Check out the Android Developers page. There you will find the answers to all of your questions. And MVC is already present in Android. Check out this question. The videos here can explain what you're looking for.
我创建了一个应用程序来管理我的开支。它是使用 MVP 模式构建的。我已经在这篇文章中对此进行了解释。
I created an application to manage my expenses. It is built using MVP pattern. I have explained it in this post.