Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Fragments supported through Android Class Library project?

$
0
0

I'm currently trying to create some fragments for my application. I'd like to place them into a Android Class Library project but haven't had any luck with this yet.

So my question: Is this even supported by MfA? And if it is, how do I reference the fragment in my .axml file?

I've tried class="mynamespace.MyFragment" but this just results in an exception being thrown by SetContentView() in my main activity.


Viewing all articles
Browse latest Browse all 204402

Trending Articles



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