Im getting this error: Bad arguments to add items to list
The operations add items to list cannot accept the arguments: , [empty-string], [test]
I wanted to do a followers list. When you click follow button, username added to list and stored in firebase, then displayed in list view with retrieved info from firebase.
I hope this part only may be giving you problem… If the tinyDb found no value for the tag username then empty string only will be try to added to the list. instead of empty string try to use create empty list if possible and try or use if statement
Yeah i know it, but now you are checking in companion so pls make sure whether it is having value or not, just to confirm your error. Because you have no where did mistake it seems.