Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Native views from within Xamarin.forms app - should I use DependencyService?

$
0
0

I'm new to Xamarin.forms. Everything I've done thus far is platform independent using Xamarin.

I would like to be able to load/show a native view from both iOS and Android from a form within Xamarin when the user clicks a button. More specifically, when the button is clicked, a string parameter will need to be sent to a native class, some analysis is done and the native view will need to be shown, the user does some stuff on the native view and clicks ok, a little more analysis is done in the native class and a string gets returned to the Xamarin code related to the button push.

I'm confused on if this is even possible, and if so, if it is via using Xamarin's DependencyService.

Anyone have any pointers or thoughts as to whether this can be done, and if so, potentially how to proceed?

Thank you in advance.


Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>