When using xamarin.android, a variety of third-party libraries are used, which are basically written in Java and need to be used in xamarin.android to bind the corresponding Java libraries through the Android binding project and then C #中使用. binding, you may need to write the relevant conversion rules or modify the corresponding Java source code, when you encounter problems, you can visit the website of Xamarin, or Google.
Xamarin.android Binding Reference Document address:
Http://developer.xamarin.com/guides/android/advanced_topics/java_integration_overview/binding_a_java_library_ ( . jar)/
I'll share some of the third-party libraries I've bundled and the related issues I've encountered.
LOYLDG Source: http://www.cnblogs.com/loyldg/This article is copyright to the author and the blog Garden, welcome reprint, but without the consent of the author must retain this paragraph, and in the article page obvious location to the original link. If you have questions, you can email: [Email protected] contact me, thank you very much.
1.android-pull-to-refresh
A) original project address: Https://github.com/naver/android-pull-to-refresh
b) Description: A powerful pull refresh open source project that supports various controls drop-down refreshes, ListView, Viewpager, Wevview, Expandablelistview, GridView, ScrollView, Horizontal ScrollView, fragment pull up and down around the refresh. See on the net there's a nice drop-down refresh control, interested friends can see, address: Https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh
c) Note: This library is more difficult to bind, many friends have encountered problems binding, after the completion of the binding can not be used normally. When I bound this library, also encountered a lot of problems, but finally resolved, binding detailed steps please refer to: http://www.cnblogs.com/loyldg/p/Xamarin-Android-PullToRefresh.html
2.ResideMenu
A) original project address: Https://github.com/SpecialCyCi/AndroidResideMenu
b) Note: The binding of this project is also a bit cumbersome, there are more places to note, binding detailed steps please refer to: http://www.cnblogs.com/loyldg/p/Xamarin-Android-ResideMenu.html
3.AndroidBootstrap
A) original project address: Https://github.com/Bearded-Hen/Android-Bootstrap
b) Description: Bootstrap-style button
c) Note: Do not need to write any rules, direct binding
D):
4.SwipeListView
A) original project address: Https://github.com/47deg/android-swipelistview
b) Description: Support defining the left and right sliding events, support left and right sliding displacement, support to define animation time
c) Note: This library binding is relatively simple, the binding library needs to reference Nineoldandroids-library-2.4.0.jar, the build type is set to Embeddedreferencejar.
5.SwipeLayout
A) original project address: Https://github.com/daimajia/AndroidSwipeLayout
b) Note: The binding of this project is to write only one rule, add the following rule in Metadata.xml
<attr path= "/api/package[@name = ' com.daimajia.swipe.implments ']/class[@name = ' Swipeitemmangerimpl.mode ']"
Name= "Managedname" >
Itemmode
</attr>
6.NumberProgressBar
A) original project address: Https://github.com/daimajia/NumberProgressBar
b) Description: Progress bar with digital progress
c) Note: Do not need to write any rules, direct binding
D):
7.DroidIcon
A) original project address: Https://github.com/theDazzler/droidicon
b) Description: Droidicon offers over 1600 custom icons that make it super easy to add icons and badges to your app. You can customize the various forms of icons you want, add strokes, transparency and color filters to the icons. Includes Google Material Design, Font Awesome, iconic, Entypo, and Meteocons series.
c) Note: Do not need to write any rules, direct binding
D):
8.NiftyDialogEffects
A) original project address: https://github.com/sd6352051/NiftyDialogEffects
b) Description: Support for custom fly-in animation style Dialog
c) Note: Binding a project requires adding a Nineoldandroid-2.4.0.jar file to the jars directory and setting the build type to Referencejar, and the project that uses the bound project needs to add a reference to Nineoldandroids.
D):
9.QuickReturnHeader
A) original project address: Https://github.com/ManuelPeinado/QuickReturnHeader
b) Description: Listview/scrollview header or footer, which disappears when scrolling down, appears when scrolling up
c) Note: Do not write rules, However, you need to add the Android-support-v4.jar to the jars directory and set the build type to Referencejar, and the project that uses the binding library needs to add a reference to XAMARIN.ANDROID.SUPPORT.V4
10.ProcessButton
A) original project address: Https://github.com/dmytrodanylyk/android-process-button
b) Description: button with load or commit progress
c) Note: Both the binding library and the project using the binding library add a reference to the XAMARIN.ANDROID.SUPPORT.V4
D):
11.BaiduMapSDK
A) original project address: http://developer.baidu.com/map/
b) Note: Only one rule can be written:
<attr path= "/api/package[@name = ' Com.baidu.mapapi ']/class[@name = ' versioninfo ']/field[@name = ' version_info ']"
Name= "Managedname"
>
Sdkversioninfo
</attr>
12.WeekViewCalendar
A) original project address: Https://github.com/alamkanak/Android-Week-View
b) Description: Date control, Support week, Day view, custom styles supported
Binding Library : Http://files.cnblogs.com/files/loyldg/Android-Binding-Libs.rar
There is a need for source code friends, please leave the mailbox, I unified send.
Xamarin.android Binding library Sharing