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

Accessing controls on the Shared project from the platform projects

$
0
0

Hi.
I'm new to Xamarin.Forms and I need a bit of guidance.

What I'm trying to do :

  • Feed the device's calendar data (events, appointments, etc.) to the Third Party Calendar Xamarin.Forms control

Control is located in the shared project.

From what I understand there is no way to access calendar from Xamarin.Forms shared project?
It seems that I will have to write platform specific code for iOS and Android to get the Calendar data.

How can I feed this data back to my third party calendar view control, from Android and iOS?

My best guess at the moment is that I can follow documentation on Calendar for Xamarin.Android and Xamarin.iOS, and use this code to get the data on both platforms. But I'm not sure how can I feed this data back to my control residing in the shared project.

Any kind of guidance is welcome. Thanks!


Viewing all articles
Browse latest Browse all 77050

Trending Articles



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