Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想创建一个卡片列表,每个卡片都有一个地图片段,这可能吗?
我可以将 mapfragment 添加到 listView 中吗
不,因为片段不能进入任何AdapterView.
AdapterView
此外,您不能轻易地将可滚动的东西放入其他可滚动的东西中。地图和ListView知道如何垂直滚动。欢迎您尝试放入MapViews行ListView,但我预计结果将无法使用。
ListView
MapViews