Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it a good idea to use Google Guava library for Android development?

People also ask

Why should I use Google guava?

Guava is an open-source “Collection Library” library for Java, developed by Google. It provides utilities for working with Java collections. As you dive deep into Guava you'll notice how it reduces coding errors, facilitates standard coding practices and boost productivity by making code concise and easy to read.

Is Guava good Java?

Guava provides a few extremely useful string utilities like splitting, joining, padding, and more. It provides powerful collection utilities, for common operations not provided in java.

What is guava Android?

Guava is an open source, Java-based library developed by Google. It facilitates best coding practices and helps reduce coding errors. It provides utility methods for collections, caching, primitives support, concurrency, common annotations, string processing, I/O, and validations.

What is Google guava JRE?

Guava: Google Core Libraries For Java » 24.0-jre Guava is a suite of core and expanded libraries that include utility classes, Google's collections, I/O classes, and much more. License. Apache 2.0. Categories. Core Utilities.


(Too big for comment, so I post an answer.) Personally I use whole Guava library in every Java project and when I don't have significant and properly profiled performance problems. If you do have, for example, memory concerns like in Android environment, you can use ProGuard to get only these parts of Guava you really need.

Moreover, there are many Android apps using Guava - not only small ones, i.e. Google Search and Youtube, which directly come from Google.

(You should also see compatibility note.)