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

The name of the pictureThe name of the pictureThe name of the pictureClash Royale CLAN TAG#URR8PPP


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.

Popular posts from this blog

Visual Studio Code: How to configure includePath for better IntelliSense results

Spring cloud config client Could not locate PropertySource

Regex - How to capture all iterations of a repeating pattern?