https://kotlinlang.org logo
u

ursus

05/28/2019, 3:40 PM
@oday but from the remite foo list screen I already fetched the data, requesting from network again feels wasteful, so yea maybe as to emulate database, keep it in a hashmap as @yshrsmz said but then, when to invalidate this hashmap? and also process death, youd loose the object, so youd need to rerequest the network..
y

yshrsmz

05/28/2019, 3:48 PM
if you need to consider process death, then you should use database.
u

ursus

05/28/2019, 3:57 PM
saving it ti databse just because of process death -- and deleting the item every screen back press feels waste ful?
4 Views