Question

I want to create a list of cards each having a map fragment is that's possible ?

Was it helpful?

Solution

Can I add a mapfragment into a listView

No, because fragments cannot go into any AdapterView.

Also, you cannot readily put scrollable things into other scrollable things. Both a map and a ListView know how to scroll vertically. You are welcome to experiment with putting MapViews into ListView rows, but I expect the results to be unusable.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top