This is an ongoing post that will introduce the best Android libraries that are commonly used or worth trying in new projects.
See Also: Best Android Game Engines & SDKs for 2D and 3D Game Development
Table of Content:
This is an easy way to integrate SafetyNet reCAPTCHA with RxJava2.
Android library listening network connection state and Internet connectivity with RxJava Observables, a successor of Network Events library rewritten with Reactive Programming approach.
The library is an Android animation Rx2 wrapper which was developed to make implementing animation more solid and cohesive.
It adds the minimum classes to RxJava 2
, which make writing reactive components in Android apps easier.
AppCrossPromoter allows developers to promote their own apps and to manage the direct-sold campaigns. It can cross-promote your apps through your other Android apps.
Views & Animations
This library allows you to show bottom navigation quickly and simply.
SlyCalendarView is a calendar library that allows you to select both a single date and a period. The view allows to change colors programmatically without modifying the theme.
FloatingToast help make customisable floating animated toasts.
This is a suite of utility libraries which allows to embed YouTube inside your Android, iOS or React Native app. It creates an instance of YouTubePlayerView inside a fragment.
Fancybuttons makes styling a button easier. It can quickly customize a button with icon, border, radius and more.
o you want to introduce about your app when it is first launched by a user? AppIntro helps developers create an introduction view for their apps.
This plugin can be used to showcase any specific part of the UI, it displays information of different widgets visible on the screen.
Medium TextView is an extended TextView which can be used to display medium content such as text, image, and video. If you don’t want to usue WebView, this is a simplified version.
excelPanel library allows developer to create a two-dimensional RecyclerView which can display data like Excel.
The library provides android L dialog animation which makes an dialog in any of 3 positions: top, middle and bottom. It supports 3 content types by default, ListHolder, GridHolder and ViewHolder.
This library will help you make a better-looking Toast. It supports Warning, Success, Error, Info states.
Data tracker requires beautiful graphs to display data in a way that is beautiful and easy to read. These libraries provides an quick way for developer to draw graph and chart.
Hover provides an easy-to-use way for Android developers to implement floating menu.
If you want to animate View, Android View Animations is the best choice. It is easy to use and has a lot of effects such as Bounce, Fade, Flip, Rotate, Slide, and more.
Forget the repeated findViewbyId(R.id.textView)! Butterknife bind field and method for Android views which uses annotation processing. It supports binding not only views but also resources, actions and listeners.
A custom view with video player, loader and placeholder image.
Calligraphy makes changing fonts in all views easier than ever. You don’t need to go through every Textview and swapping new font until you are satisfying.
FlexboxLayout brings CSS Flexible Box Layout Module features to Android, which makes complex layout easier to achieve.
It showcases a new layout which can be useful than Toasts and Snackbars.
It is an SDK and UX framework for creating research study apps on Android.
An implementation of a Job Queue specifically written for Android to make progress of managing scheduled jobs easier and run in the background.
It is an Android utility library which schedule jobs in the background. The best part about this library is that it uses either JobScheduler, GcmNetworkManager or AlarmManager according to Android version.
Mockito is the most popular Mocking framework for unit tests.
I use this library whenever I need to load images from assets folder or from the internet. It handles loading and caching image into ImageView well.
Retrofit is the best option in this category. It has become the most commonly used type-safe HTTP client for Android.
Dagger is a fully static, compile-time dependency injection framework for Android. Dagger is currently in active development, primarily internally at Google.
A logger with an extensible API which provides utility on top of Android’s Log class.
Stetho is debug bridge for Android applications which allows developers to use Chrome Developer Tools. Developers can have access to SQLite, View Hierchary, and Network information within Chrome browser.
Chuck is an in-app HTTP inspector for Android OkHttp clients. It intercepts and persists all HTTP requests and responses and display their info in UI.
LeakCanary is a memory leak detection
library for Android, it will automatically show a notification when an activity memory leak is detected in your debug build.
If you don’t want to use an ORM, these SQLite and its alternatives will help you save a lot of working with database.
List of the best Android ORM libraries. My choice is to use ActiveAndroid in small projects and greenDAO in big ones.