In Xamarin.Form Mobile App, is there anyway we can run functions in the background without stopping it when we move to another PageView? For example, I want to run this below C# code in my App for listening to Firebase Real-Time Database without stopping it when I move to another PageView to keep my data update nicely without having to start it again which will delay/slow my UI process:
var firebase = new FirebaseClient("");
var observable = firebase
.Child("RoomInfo")
.AsObservable<RoomModel>()
.Subscribe(d => getTotalMember = d.Object.TotalMember);