Closed Andimoh closed 7 years ago
@Andimoh Here's a good place to look: http://stackoverflow.com/questions/39650262/using-firebase-to-populate-my-listview as well as here: http://stackoverflow.com/questions/27414344/how-to-populate-android-listview-with-information-from-firebase-query
don't i need some kind of onClickMarker method ? to know if markers been clicked to populate the list view ? at this point i'm not even sure i understand what i'm doing?? @jake32321
Yes there is a onMarkerClick method that would work great for this. Also, check to make sure that you are iterating through all the lots too. We only need their spots on a click of a marker so that would go inside the onMarker click method. You would get that specific lot and then populate the list before initiating the next intent which would be that list view. Here's a good reference for using that on marker click: http://stackoverflow.com/questions/14226453/google-maps-api-v2-how-to-make-markers-clickable. However though, that would initiate on clicking any of the said markers. Catch my drift? @Andimoh
Also, don't be afraid to read the docs or SO. There are many people that have a similar or identical issue. I can always try and help you tomorrow if I have time. If not it shouldn't be super hard to finish next sprint since Sprint 3 is light for us.
This issue should be marked for Sprint 3. Marking it now. @Andimoh @agnarvaez @Maha1990
can you explain how to show all the spots please? i tried using the onMarkerClick doesn't work #8
@jake32321