This was originally posted on Stack Overflow:
http://stackoverflow.com/questions/22308219/use-search-results-from-google-places-api-to-update-marker-location-or-create-ma
The post says I created it yesterday, but I am certain I created it the day before. I have yet to get a response. Please, while I appreciate not being
spoon fed the answer right off the bat, try, also, not to speak in riddle. Thanks!
In my app I am using an if/else statement that, onMapLongClick, will update the location of the marker, if one exists, or create a marker if one does not exist. I wanted to use SearchView with Google Places API, so I utilized a tutorial I found reading through posts on Stack Overflow. It utilizes search results from Google Places API to create a marker. Nice! However, it is using its own addMarker. So, I am hoping someone would be so kind as to get me going in the right direction so that I am able to tie the results being generated from Google Places API in with my method for adding a marker. (Teach the man to fish, not give the man a fish.)
My method:
Tutorial method for Google-Places-API results: