I am making a texting app with separate chat rooms where I want to save the users previous chat rooms can anyone help?
See below how to work with tinydb and lists
How to make cloudDB chat with private rooms "
How to create separate chat rooms might help you figure your code out.
Using a TinyDB for a chat room? Not sure how you would do that, most developers us a CloudDB or FirebaseDB (which are similar to a TinyDB). A TinyDB only stores to a single Android; CloudDB and FirdebaseDB exist in the cloud and allow multiple users.