Android - Memory Cost - Firebase Realtime Database x Room Persistence Library


Android - Memory Cost - Firebase Realtime Database x Room Persistence Library
Debugging Firebase Realtime Database method ValueEventListener.onDataChange
, DataSnapshot
loads all data from the Cloud.
ValueEventListener.onDataChange
DataSnapshot
Thinking in low memory cost, what is the best solution to work with the large amount of data ( in device perspective )?
Im looking to implement both, using Firebase Realtime Database to do a daily update to storage local data with the Room Database. For this way, only necessary data is loaded to device's memory, based on user interaction.
By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.