I'm trying to get the user to pick a date and then on click of a button will display all the content from Firestore related to that data.
Here mDisplayDate
is a DatePicker
Dialog and I want to display the data. I've done the display part but whereEqualTo()
takes two hard coded strings as field and value.
noteBookref.whereEqualTo("Date" , mDisplayDate.toString()).orderBy("Date", Query.Direction.DESCENDING).get();