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

Is it possible to call Xamarin forms pages inside an Android Fragment?

$
0
0

Scenario

I already created a cross platform project where platform specif projects are sharing common PCL libraries .There are lot of fragments used in the Android specific Project (Eg .Adding Fragments dynamically to navigation drawer ). I created another Xamarin forms project where form's views share the same PCL Libraries. Now i want to call Xamarin forms in an Android host .In this scenario, the Android host is a "fragment".

Problem

I can see all the samples for Xamarin forms are using AndroidActivity class which is a Xamarin forms implementation for an Android Activity.But my application should use Fragments .I couldn't find any Xamarin forms representation for Android fragments.Also there are some samples explain the usage of dependency service to adopt the native implementation for Xamarin forms.But There is no any example for other way around.

The issue is discussed below ,also same as mine .Seems it is not possible in Xamarin

stackoverflow.com/questions/25685014/how-to-use-xamarin-form-controls-and-native-controls-on-the-same-page

Can any one suggest any workaround for this problem?


Viewing all articles
Browse latest Browse all 91519

Trending Articles



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