Good people I have a array
of strings with dates, coming from a query with Firebase database. I want to organize it in a growing number of dates.
Ex: 05/09/2016 - 09/09/2016 - 11/11/2016
Dates are entered into my array by the populateViewHolder
method:
protected void populateViewHolder(RoomViewHolder viewHolder, EscapeRoom model, int position)
{
String [] datasBancoDeDados = new String[] {model.getData()} ;
}
At each method execution it adds a date to my array.
My goal is to organize this array with dates, to pass% values from the corresponding nodes to these dates.
For example the date 05/09/2016 would be before the date 06/09/2016 and so would pass the values of the database to mount a Activity
correctly.
I do not know if I explained very well, I'll leave the prints of the app, which I have for now to improve the visualization.
Thank you in advance.