存储库模式在android中的应用 [英] Application of repository pattern in android

查看:85
本文介绍了存储库模式在android中的应用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个带有存储库模式的 android 应用程序,但我在 android 中找不到存储库模式的完整系列实际实现.有推荐的教程吗?

i m working on an android application with repository pattern but i I could not find a complete series of practical implementations of repository pattern in android. any recommended tutorial?

推荐答案

我遇到了同样的问题,找到了一篇比较 Android 中 Repository 不同方法的好文章:仓库模式的演变

I run into the same question and found a good article that compares different approaches for Repository in Android: Evolution of repository pattern

它谈到了一种众所周知的方法,清洁架构,建议不要过度设计事物.

It talks about one well-known approach, Clean architecture, suggesting not to overengineer things.

要理解这些帖子,您应该特别具有使用模式和存储库的经验.在我看来,这些帖子可以引导您正确实施.

To understand these posts, you should have some experience in using patterns and repository in particular. In my opinion, these posts can lead you to proper implementation.

这篇关于存储库模式在android中的应用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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