Hi Community!
I'm having newbie's trouble trying to integrate the RadialProgress, from Xamarin Components, into a ContentPage of my Xamarin Forms project. It works fine as an activity, just like in the samples, but the "RadialProgressView" can't seem to be called as a Xamarin.Forms View. Would you have the kindness to guide me toward tutorials, samples or references that could lead me to how I can integrate a RadialProgress the way I do with, say, an ActivityIndicator?
Sincerely,
Julien
The component is for native Android/iOS development, it is not a Xamarin.Forms components as far as I can see so I don't think you'll have much luck integrating it into a Xamarin.Forms app without writing custom renderers for it.
Answers
The component is for native Android/iOS development, it is not a Xamarin.Forms components as far as I can see so I don't think you'll have much luck integrating it into a Xamarin.Forms app without writing custom renderers for it.
Hi Christian, thanks.
I'm following this: http://developer.xamarin.com/guides/cross-platform/xamarin-forms/custom-renderer/
But I really can't warp my mind around how I could achieve the same for RadialProgress. What bugs me is that RadialProgressView can't be seen as a Xamarin.Form.View. So yeah, I can call it in an activity, but not as a view in a content page, I don't see (cause I don't know, it's hopefully possible) how a custom renderer could change that.
Can anyone be more specific concerning that matter? (Sorry for newbieing that hard)
Julien
Ok, may I bump myself?
It's really bugging me and very much time consuming. Could sombedy point me to the right direction, even more precisely than how Christian did? I can't go any further without implementing that Radial progress...
Julien
(Remember to use the @-function in the forums when referring to someone, @JulienChateau).
Using the RadialProgressView in a custom renderer shouldn't be too hard, but my suggestion to you is to try to create a much more simpler custom renderer to begin with so that you understand the concepts involved. Then have a go at creating a renderer for the component you want to wrap.
Thanks for the tips @ChristianFalch ! I'm gonna dig this way since I can't find anything more precise on the internetz.
Done! @ChristianFalch was right. This guy did it and shared his stuff:
https://forums.xamarin.com/discussion/44119/custom-renderer-setup-to-use-control-from-component-store-radialprogress
I just don't know why his thread did not showed up early when I searched the forum... My bad.