Closed GoogleCodeExporter closed 8 years ago
If you use the Mapview in a resource then it's always going to use the two
argument constructor.
If you want options then you want them made available via the attributes.
What attributes do you want added?
Original comment by neilboyd
on 4 Apr 2012 at 5:22
Hi thanks for the feedback. I'd like to subclass MapView and be able to call
private MapView(final Context context, final int tileSizePixels,
final ResourceProxy resourceProxy, MapTileProviderBase tileProvider,
final Handler tileRequestCompleteHandler, final AttributeSet attrs) ;
from my subclass's constructor. The reason is that the subclass can then use my
custom tileprovider/resourceproxy while getting instantiated from a layout XML.
I don't see any other way to achieve that currently.
Original comment by stevenkr...@gmail.com
on 4 Apr 2012 at 7:51
This issue was closed by revision r1085.
Original comment by neilboyd
on 5 Apr 2012 at 4:35
Original issue reported on code.google.com by
stevenkr...@gmail.com
on 3 Apr 2012 at 2:58