Go 5 Open source libraries that Android developers must know

Source: Internet
Author: User
<span id="Label3"></p><p><p><strong>1. Gson</strong></p></p><p><p>Gson is a Java class library provided by Google for mapping between Java objects and JSON Data. can be used to convert a Java object to a corresponding JSON representation, or to convert a JSON string to an equivalent Java Object. If you're dealing with the api, it's going to be something you often need. The reason we mainly use JSON is that the lightweight JSON is much simpler compared to Xml.</p></p><p><p></p></p><p><p><strong><strong>2. RETROFIT</strong></strong></p></p><p><p>As described on its website, "retrofit your rest API into Java interface", Retrofit the data returned by the rest API into Java objects for ease of operation and is a good solution for organizing API calls in your Project. Both the request method and the relative URL are annotated, making the code more Concise. With annotations, you can easily add a request body, manipulate a URL or header file, and add Query Parameters. In addition, each function can be defined as synchronous or asynchronous, and the function with the return value is executed synchronously, and the async function has no return value and the last argument is a callback Object.</p></p><p><p></p></p><p><p><strong>3. Eventbus</strong></p></p><p><p>Eventbus is a library for simplifying communication between parts of an Application. such as sending a message from an activity to a running service, or simply interacting between fragments. The following example is used if the network connection is lost</p></p><p><p></p></p><p><p><strong><strong>4. Activeandroid</strong></strong></p></p><p><p></p></p><p><p>Activeandroid is a lightweight ORM (object relational Mapping) that allows you to save and retrieve SQLite database records without having to write a separate SQL Statement. Each database record is wrapped neatly into a class of methods, such as delete () and save ().</p></p><p><p></p></p><p><p><strong>5. UNIVERSAL IMAGE LOADER</strong></p></p><p><p>UIL is an open source project designed to provide a reusable instrument for loading, caching, and displaying asynchronous Images.</p></p><p><p></p></p><p><p>Original: http://www.csdn.net/article/2014-06-16/2820224-top-5-android-libraries</p></p><p><p>Go 5 Open source libraries that Android developers must know</p></p></span>

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.