更新时间:2023-02-22 20:15:20
:)是的,我是一个会告诉ü这是一个坏的想法。恕我直言,因为Android应用程序是为了在手机上运行,其中连接可能是一个问题或将暂时失去,我要求每一个良好的应用程序应该有一定程度的离线功能。所以,你想实现一些非常基本的同步机制 - 作为实例证明与 SampleSyncAdapter - 用于同步的应用程序的本地SQLite数据库。
:) yes, I'm one that'll tell u it is a "bad" idea. IMHO, given that Android apps are intended to run on mobiles where connectivity might be an issue or be lost temporarily, I claim each good app should have some degree of offline capabilities. So you'd implement some very basic sync mechanism - as for instance demonstrated with the SampleSyncAdapter - which synchronizes with the apps local SQLite db.
我觉得这是去(还能够为用户体验)的***方式。
I think this is the best way to go (also for the user experience).