google maps - Native View Within MasterDetailPage Xamarin Android -



google maps - Native View Within MasterDetailPage Xamarin Android -

i have map view trying create bit more advanced map implementation provided xamarin.forms. wondering if there pattern embedding native view withing master detail page.

in illustration image top navigation bar built in xamarin , content part highlighted in violet should created individually per platform.

this typically renderer take over.

see customizing controls each platform , forms2native sample.

you create mapcontentpage extend contentpage , have attribute on top :

[assembly: exportrenderer (typeof (mapcontentpage), typeof (mapcontentpagerenderer))]

then you'd create renderer android called mapcontentpagerenderer , in onelementchanged, instanciate map using 'regular' mono android code.

android google-maps xamarin xamarin.forms

Comments

Popular posts from this blog

formatting - SAS SQL Datepart function returning odd values -

c++ - Apple Mach-O Linker Error(Duplicate Symbols For Architecture armv7) -

php - Yii 2: Unable to find a class into the extension 'yii2-admin' -