• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Recycleview for a newbieapp

Catsuke

Lurker
Hi, i've been trying to insert a recycleview so i can show the details of a location when i click on the marker. But i am really a starter and i don't know where or how i can do that.

Since every guide i watch only teaches me how to that in a certain project i am really confused right now. what am i trying to do is like the image linked above. I'm also putting my source code down.

review.png
 

Attachments

RecyclerView is used to display scrolling lists. Your screenshot, or description doesn't appear to involve that, so I'm a bit confused as to why you think you need to use RecyclerView.
 
RecyclerView is used to display scrolling lists. Your screenshot, or description doesn't appear to involve that, so I'm a bit confused as to why you think you need to use RecyclerView.

A friend of mine told me that i should use a recyclerview with an adapter to make my function work properly. I'm just trying to show a specific place detail when i click on the marker
 
Like I said, unless you need to display a list of things, you don't need RecyclerView.
 
It's not clear what you're trying to do. You haven't clearly explained the problem, or included any code in the correct format. Don't attach a zip file, use [code][/code] tags to show only relevant code, not the whole project. Make it easy for someone to answer your question by being focused and specific.
Nobody is going to write huge chunks of code for you, but we can advise on the best approach to take, if you clearly define the problem.
 
So, i've discovered what i needed to do. I've created a new activity when the marker is clicked and the showed the information i've wanted from the DataParser Class

Code:
HashMap<String, String> googlePlaceMap = new HashMap<>();
String NameOfPlace = "-NA-";
String vicinity = "-NA-";
String latitude = "";
String longitude = "";
String reference = "";

just need to add the information on this part

But thanks for the help !
 
Back
Top Bottom