title: How to pass QueryDocumentSnapshot to another activity?
body: <p>I want to open a new activity (from fragment) and pass an object of type <code>QueryDocumentSnapshot</code> with <code>Intent</code>. I'm familiar with the <code>putExtra</code> method but it does not accept <code>QueryDocumentSnapshot</code>. I saw this <a href="https://stackoverflow.com/questions/2139134/how-to-send-an-object-from-one-android-activity-to-another-using-intents">topic</a>, and it said "If your Object Class implements Parcelable and Serializable then you can just cast". How do I know if <code>QueryDocumentSnapshot</code> can be casted? If it's not possible, what would be the way to do it (I can't implements <code>Parcelable</code> and <code>Serializable</code> because <code>QueryDocumentSnapshot</code> is not my class).</p>