Common third-party frameworks used in Android development

Source: Internet
Author: User

1.SlidingMenu

Official website: https://github.com/jfeinstein10/SlidingMenu

Users using: http://blog.csdn.net/yangyu20121224/article/details/9255829

2.android-async-http

Https://github.com/loopj/android-async-http

3.PullToRefresh

Drop-down Refresh

Https://github.com/chrisbanes/Android-PullToRefresh

1,VolleyProject AddressHttps://github.com/smanikandan14/Volley-demo (1) JSON, images and other asynchronous downloads;(2)Ordering of network requests (Scheduling)(3)priority handling of network requests(4)Cache(5)Multi-level cancellation requests(6)and theActivityand the life cycle linkage (ActivityCancel all network requests at the end)2,Android-async-httpProject Address:Https://github.com/loopj/android-async-httpDocument Description:http://loopj.com/android-async-http/(1)processing request results in an anonymous callback(2)in theUioutside the threadhttpRequest(3)file Breakpoint Upload(4)Smart Retry(5)defaultGzipCompression(6)support parsing intoJsonformat(7)can beCookiespersist toSharedPreferences3,AfinalFrameProject Address:Https://github.com/yangfuhai/afinalThere are four main modules:(1)Database module:Androidin theOrmframework that uses a thread pool toSqliteto operate. (2)Note module:Androidin theIoCframe, which can be done in a fully annotated mannerUibindings and event bindings. WithoutFindviewbyidand theSetclicklistenerand so on. (3)Network module: throughHttpClientfor Encapsulationhttpdata requests, supportAjaxmode, support downloading and uploading file functions. (4)Picture Cache module: byFinalbitmap,ImageViewLoadingBitmapwhen you don't have to think aboutBitmapoccurs during the loading process.Oomand theAndroidthe phenomenon of picture dislocation when the container is sliding quickly. FinalbitmapYou can configure the number of thread preempted threads, cache size, cache path, load display animation, and so on. Finalbitmapthe memory management usesLrualgorithm,No weak references are used (android2.3laterGooglethe use of weak references has not been recommended.android2.3after forcibly recovering soft and weak references, view detailsAndroidofficial documents),Better ManagementBitmapmemory. FinalbitmapYou can customize the downloader to extend other protocols to display network pictures, such asFtpand so on. You can also customizeBitmapMonitor,in theImageViewplay animations when displaying pictures, etc. (default is the gradient animation display). 4,XutilsFrameProject Address:Https://github.com/wyouflf/xUtilsThere are four main modules:(1)Database module:Androidin theOrmframe, a line of code can be used to increase the deletion of the search; support transactions, closed by default;annotations can be used to customize table names, column names, foreign keys, uniqueness constraints,Not NULLconstraints,CHECKconstraints (Please note the table name and the column name when you need to confuse);support for binding foreign keys, saving entities when the foreign key associated entities are automatically saved or updated;automatic loading of foreign key associated entities, support delay loading;support chain expression query, more intuitive query semantics, refer to the following introduction orSamplein the example. (2)Note module:Androidin theIoCframe, which can be done in a fully annotated mannerUi, resource and event bindings;new Event Binding mode, the use of obfuscation tools can still work properly;current support for commonly used20types of event bindings, seeViewcommoneventlistenerClasses and PackagesCom.lidroid.xutils.view.annotation.event. (3)Network module: Support synchronous, asynchronous way of request;support large file upload, upload large files will notOom;SupportGET,POST,PUT,MOVE,COPY,DELETE,HEAD,OPTIONS,TRACE,CONNECTrequest;Download Support301/302REDIRECT , support setting is based onContent-dispositionRename the downloaded file;request to return text content(The default is only enabledGETRequest)supports caching, which sets the default expiration time and the expiration time for the current request. (4)Picture Cache module: LoadingBitmapwhen you don't have to think aboutBitmapoccurs during the loading process.Oomand theAndroidthe phenomenon of picture dislocation appearing when the container is sliding quickly; support to load network pictures and local images;Memory Management usesLrualgorithms for better managementBitmapmemory;Configurable line preempted thread count, cache size, cache path, load display animation, etc.... 5,ThinkandroidProject Address:Https://github.com/white-cat/ThinkAndroidThe main modules are:(1) MVCmodules: Implement separation of views from models. (2) IOCmodule:Androidin theIoCmodule, which can be fully annotatedUibindings,Res, and the initialization of the object. (3)Database module:Androidin theOrmframework that uses a thread pool toSqliteto operate. (4) HTTPmodule: ThroughHttpClientfor Encapsulationhttpdata requests that support asynchronous and synchronous loading. (5)Cache module: Through simple configuration and design can be very good cache, the cache can be arbitrarily configured(6)Picture Cache module:ImageViewwhen loading images, you don't need to consider the image loading process.Oomand theAndroidthe phenomenon of picture dislocation when the container is sliding quickly. (7)Configurator module: an easy to implement pairing configuration, the current configuration file can supportPreference,Propertiesaccess to the configuration. (8)Log Print module: Can be faster and easier to achieve log printing, support for the expansion of log printing, currently supports theSDcardwrite local print, and console print(9)Downloader Module:can be a simple implementation of multi-threaded download, background download, breakpoint continuation, download control, such as Start, pause, delete and so on. (10)Network Status Detection module: When the network state changes, it is checked6,LoonandroidProject Address:Https://github.com/gdpancheng/LoonAndroidThe main modules are:(1)Auto-injection framework (requires only inheritance within the frameApplicationcan both)(2)Picture Loading frame (multi-cache, auto-recycle, maximum memory security)(3)The network request module (which inherits basically all nowhttprequest)(4) Eventbus(integration of an open source framework)(5)Validation Framework (integrated open source framework)(6) JSONparsing (supports parsing into collections or objects)(7)database (I don't know who wrote it. )Forget it)(8)Multi-threaded breakpoint Download (automatically determines if multi-threading is supported and determines if it is redirected)(9)Automatic Update module(10)A range of tool classes

Common third-party frameworks used in Android development

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.