I have look for in the community but I do not find anything similar to my problem.
I have an app to store events with different fields (place, time of start, time of end, km, hours, …)
I want to select the events for a range of dates. This operation works well, and the cardview also works well the first time that you make a selection. But if I reset, then the cardview do not work. Appear a number of cardview correct, but the content is blank or only appears the place (Lugar, in Spanish).
Could anyone help me, please.
I add the code and screenshots of designer screen and phone with the error.
but if I make other selection, with a previous reinicio (refresh), appear well the number of cardview (event of this range of date) but appear blank cardview. Only with place (lugar) of event.
I had tested disabling each one and the results are the same, not work.
When I made the screenshot of the code I thought that delete in the button selection was disabled, sorry.
Lugar: place
Fecha y hora de inicio =date and time of start
Fecha y hora de fin= date and time of finish
Km recorridos= kilometers
Horas de tránsito = hours of travel
Horas empleadas= worked hours
It seems that I have found the solution. I have eliminated the coefficient that was added to the index (see attached image) and have left only the index. And now it works.