data层,示例代码里就只是一个user数据的网络获取和本地缓存,建立了一个userdatafactory,比如又有了新闻数据,天气数据等。那有几个数据就建立几个对应的datafactory吗?我现在是想把多个数据源都放在一个factory ,但是发现判断缓存是否过期和是否已经缓存不知道怎么处理,所以能指点下吗?
Could you english please?
Haha, @lenguyenthanh , it is Chinese to be begged to English!
Closing since we cannot help here @chaozaiai until this is translated to english. Sorry.
Most helpful comment
Could you english please?