I have an ArrayList<Person> stored in Firestore.
I have a RecyclerView in Fragment A displaying the basic info of each person.
I have an onClickListener that replaces Fragment A with Fragment B and passes off the UID of the Person on Item clicked to Fragment B as well.
My goal with Fragment B is to display all of the details of the Person item clicked (and an option to add some more data) by somehow using the UID to get my data from Firestore.
My question is this, should I instantiate a Firebase Firestore for every Fragment that I need that same Firestore in? Or can I pass off the Person object as a bundle (though I'm not sure if any changes I make reflect on Firebase).
I thought it was a very costly process and I'm not sure what my alternatives are.