Collection-Android quick development framework, third-party library, and android framework

Source: Internet
Author: User
Tags eventbus

Collection-Android quick development framework, third-party library, and android framework
In the development process, using encapsulated frameworks can save time and reduce the amount of code. Because these frameworks encapsulate common functional modules, you only need to call simple code during development. Some Frameworks and addresses are collected to make it easier for you to get started at work. The following is only the tip of the iceberg and needs to be supplemented and improved. I also hope that my friends will give more suggestions and recommend more excellent frameworks. Thank you!
Bytes ---------------------------------------------------------------------------------------Network Communication:Volley-https://android.googlesource.com/platform/frameworks/volleyHttps://github.com/smanikandan14/Volley-demo

Image loading:Universal Image Loader-https://github.com/onlytan/android-universal-image-loader -http://blog.csdn.net/xiaanming/article/details/26810303


Animation frame:  Nineoldandroids-Https://github.com/JakeWharton/NineOldAndroidsUsage reference-http://blog.csdn.net/lmj623565791/article/details/38067475


Inter-process communication framework:EventBus-Https://github.com/greenrobot/EventBusUsage reference-http://blog.csdn.net/lmj623565791/article/details/40794879


SQLite database:LitePal-Https://github.com/LitePalFramework/LitePal
Simplify SQLite operations and work as a masterpiece.

Percentage layout:Android-percent-support-extend-Https://github.com/hongyangAndroid/android-percent-support-extendHong Yang expands the percentage layout Library (percent-support-lib.

-------------------------------------- Comprehensive: Afinal-https://github.com/yangfuhai/afinal

  • FinalDB module: The orm framework in android. You can add, delete, modify, and query data with a line of code. Supports one-to-multiple and multiple-to-one queries.

  • FinalActivity module: ioc framework in android. UI binding and event binding can be performed in full annotation mode. No need for findViewById and setClickListener.

  • FinalHttp module: Uses httpclient to encapsulate http data requests and supports ajax loading.

  • FinalBitmap module: when using FinalBitmap and imageview to load bitmap, you do not need to consider the oom and android container image dislocation during the bitmap loading process. FinalBitmap can be used to configure the number of threads loaded, cache size, cache path, and display animation. The memory management of FinalBitmap uses the lru algorithm and does not use weak references. (In the future, google does not recommend weak references. In the future, android2.3 forcibly recycles soft references and weak references. For details, see the official android documentation ), better management of bitmap memory. FinalBitmap can be used to customize the download tool to expand other protocols to display network images, such as ftp. At the same time, you can customize the bitmap display and play the animation when the imageview displays the image (the default is gradient animation display ).


XUtils https://github.com/wyouflf/xUtils
  • DbUtils module:

    • The orm framework in android allows you to add, delete, modify, and query a line of code;
    • Supports transactions, which are disabled by default;
    • You can use annotations to customize table names, column names, foreign keys, uniqueness constraints, not null constraints, and CHECK constraints. (note the table names and column names when obfuscation is required );
    • Supports binding foreign keys. when an object is saved, the foreign key associated with the object is automatically saved or updated;
    • Automatically attach external key associated entities, supporting delayed loading;
    • Supports chained expression query and more intuitive query semantics. For more information, see the following introduction or examples in the sample.
  • ViewUtils module:

    • The ioc framework in android can be fully annotated for UI, resource and event binding;
    • The new event binding method can still work normally after obfuscation using obfuscation tools;
    • Currently, You can bind 20 common events. For more information, see the ViewCommonEventListener class and package com. lidroid. xutils. view. annotation. event.
  • HttpUtils module:

    • Supports synchronous and asynchronous requests;
    • Supports uploading large files, so uploading large files does not involve oom;
    • Supports GET, POST, PUT, MOVE, COPY, DELETE, HEAD, OPTIONS, TRACE, and CONNECT requests;
    • Downloading supports 301/302 redirection and allows you to set whether to rename the downloaded file based on Content-Disposition;
    • Requests that return text content (only GET requests are enabled by default) Support caching. You can set the default expiration time and the expiration time for the current request.
  • BitmapUtils module:

    • When loading bitmap, you do not need to consider the oom and android container image dislocation during the bitmap loading process;
    • Supports loading network images and local images;
    • Memory Management uses the lru algorithm to better manage bitmap memory;
    • You can configure the number of threads to load, cache size, cache path, and display animation loading...

ThinkAndroid-https://github.com/white-cat/ThinkAndroid
  • MVC module: separates views from models.

  • Ioc module: The ioc module in android, which can be fully annotated to perform UI binding, read resources in res, and initialize objects.

  • Database module: The orm framework in android, which uses a thread pool to operate sqlite.

  • Http module: Uses httpclient to encapsulate http data requests and supports asynchronous and synchronous loading.

  • Cache module: cache can be well implemented through simple configuration and design, and cache can be freely configured

  • Image cache module: when loading images in imageview, you do not need to consider the oom and android container image misplacement during image loading.

  • Configurator module: You can perform simple pairing configuration operations. Currently, the configuration file supports Preference and Properties for configuration access.

  • Log printing module: This module allows you to print logs quickly and easily. It supports log printing extension. Currently, it supports writing sdcard to local printing and console printing.

  • Download Device Module: You can easily implement multi-threaded download, background download, resumable download, download control, such as start, pause, and delete.

  • Network status detection module: detects network status changes.

LoonAndroid https://github.com/gdpancheng/LoonAndroid
  • 1. Automatic injection of the Framework (only applications within the framework can be inherited)
  • 2. image loading framework (multiple caches, automatic recovery, maximum Memory Security)
  • 3. Network request module (inheriting basically all current http requests)
  • 4 eventbus (integrated with an open-source framework)
  • 5. Verification Framework (integrated open-source framework)
  • 6 json parsing (supports parsing to a set or object)
  • 7. Database (I don't know which one has forgotten it)
  • 8 multi-thread breakpoint download (automatically determines whether multithreading is supported and whether redirection is supported)
  • 9 automatic update Module
  • 10 series of tools
---------------------------------- 2015/07/15 -------------------------------------


Copyright Disclaimer: This article is an original article by the blogger and cannot be reproduced without the permission of the blogger.

Related Article

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.