I have a project where it is possible to schedule a date and time for presentation in arrayList, and these Strings are saved correctly in the cloud database - Firestore.
I would like to know how I can make it so that, at the time of loading, only future dates are displayed in the arrayList, and hide those that have already passed.
In the image below, it is the moment that the arrayList is loaded from Firestore:
In the image below, the arrayList Adapter, textualizing the Strings and positions.
Finally, this is an example of what is being presented in the project. As we can see, there is a 2020 date, and the idea is that this, for example, was hidden, as it has already passed.
I thank the attention!