Home What exactly is it Xamarin.android.support.v7.appcompat
Reply: 3

What exactly is it Xamarin.android.support.v7.appcompat

Vivi98 Published in 2017-11-14 22:50:01Z

I'm working with Xamarin.Android. Appcompat is actually necessary for use material design because the nougat package (Android.support.design) requires it. But why, for example, if I work only with API 27, I must add the AppCompat package? In my toolBox i've not the floatingActionButton, NavigationDrawer etc.. so I must add this packet to unlock them. What is exactly this package? I've read on the web that this package works with backward compatibility but I only work with new APIs, so why I must install it? Thanks.

G.hakim Reply to 2017-11-16 11:43:35Z

AppCompat should add the functionality of the latest API to older APIs when needed. For instance, lollipop added the CardView class, which can be used in older Android APIs when AppCompat is used, with some minor differences (some of the Android L animations may not apply on older versions of Android for example). It is recommended to use AppCompat in most cases since more users will be able to run your app when you do (depending on your MinSdkVersion). If you want to know what classes you can access in AppCompat, you can take a look at the features here:


yams Reply to 2017-11-14 23:07:48Z

The Xamarin.Android.AppCompat is just what it says. Its a library for App Compatibility for backward compatibility for previous versions of Android and more specifically this version (v7) brings support for Action Bar support. Read more here : AppCompat

Devlin Duldulao
Devlin Duldulao Reply to 2017-11-15 00:06:57Z

They are libraries used for accessing the latest features of an Android OS version. It is backward compatible by the way.

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.304525 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO