Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
157 views
in Technique[技术] by (71.8m points)

java - Firebase Android - Only need specific table to be in local device

I am using Firebase realtime database in my Android application. I have replica of database in local device using below line of code - FirebaseDatabase.getInstance().setPersistenceEnabled(true);

But it will sync all the tables between local and global database. I only want few table need to be sync not all.

Is there any way to only sync few tables in local memory and rest of table Android device will read from global database?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
Waitting for answers

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...