ChicoState / sound-space

Musician and Artist hangout
MIT License
2 stars 0 forks source link

Music Filtering #79

Closed dhelms1 closed 2 years ago

dhelms1 commented 2 years ago

Need to figure out how to filter the music list being created by the firebase snapshot when user enters text in search bar - I linked a quick video that I used to set it up, but they filter from a hard coded list so I wasn't sure how to implement with firebase.

dhelms1 commented 2 years ago

If we can generate a list from the firebase instance I can use that for filtering, but not sure how to do this.

snowmang1 commented 2 years ago

a list of what? Strings, objects?

dhelms1 commented 2 years ago

Yeah basically what were using for the ListView.builder if we could take the snapshot and convert it to a list of strings or we could append each song into a list and use that to update the search bar (There's a video that shows how to filter with a list just not a firebase instance - I'll play around with this possibly tomorrow during lab)

ornorth commented 2 years ago

I was working on this today. I tried a couple methods, but Firebase doesn't seem to want to play nice with the listview. I'll keep working on it this week