The summer is over and this is a great time to present my subjective list of 30 Android libraries and projects released in the last 3 months. Some of them can be used in production, some of them definitely not, but playing with all of them will be pure fun. They are definitely worthy to check. Enjoy!
Currently, there is only Vertical Stepper View but more styles will come in the future. You can check, how it looks below:
You can customise normal/active point colour, done icon, as well as enable animation and set its duration. To check it, please visit Set item values and styles on its Github.
This library supports API 17+ and has a quite comprehensive wiki available here.
MaterialStepperView - Steppers - Material Design Components for Android
This is an Android Library for multiple snapping of RecyclerView. MultiSnapRecyclerView easily provides a snapping feature to your RecyclerView.
Currently it offers:
- gravitated snapping to
snap countto specify a number of items to scroll over,
- support for horizontal and vertical scrolling,
- listener to be called when snapped.
Below is the example, how to use the library.
MultiSnapRecyclerView - Android library for multiple snapping of RecyclerView
This is a library that we can consider as a skeleton for creating layouts as presented below:
GarlandViewconsists of classes for inner items that are scrolled vertically and outer items that are scrolled horizontally, and each of which contains one inner item.
Rest of the important information you can find in README. There is also an example app. The library supports API 19 and above.
garland-view-android - :octocat: GarlandView seamlessly transitions between multiple lists of content. Made by…
This is a customised
LayoutManager — fade and shrink the head itemView when scrolling. It was inspired by this Dribble project.
VegaLayoutManager - a customized LayoutManager - fade and shrink the head itemView when scrolling.
The name of this library is self-explanatory. It is a expandable layout, based on
README contains all information you need to get started.
It is well-documented. In addition, there is an example app to quickly jump to the code.
SwipeBackLayoutis a library that can finish an Activity by using gestures.
You can set the slide direction, such as FROM_LEFT, FROM_TOP, FROM_RIGHT and FROM_BOTTOM.
You can also set whether it can only slide from the edge.
SwipeBackLayout must contain only one direct child, such as:
RecyclerView, a subClass of
The project has a comprehensive documentation, sample app and an APK.
SwipeBackLayout - SwipeBack is an android library that can finish a activity by using gesture.
This is a library for cropping image in a smart way that can identify the border and correct the cropped image. Applicable to ID cards, business cards, documents and other photos of the crop.
- Crop image in a smart way that can identify the border,
- support drag anchors, magnifying glass effect to enhance the positioning experience,
- use the perspective transform to crop and correct the selection to restore the front image,
- support rich UI settings, such as auxiliary lines, mask, anchor, magnifying glass and so on.
Currently, the library uses optimised points sorting algorithm.
CropImageView has selection magnifying effect and it can use
SmartCropper - 🔥 A library for cropping image in a smart way that can identify the border and correct the cropped…
Date Range Picker is a Calendar Picker View to show a customised Date Range Picker with improved UI.
A description of the project is well-written and easy to read.
Contribute to DateRangePicker development by creating an account on GitHub.
Everybody knows Stories which Facebook and Instagram presented on their apps. Here is a library which introduces
StoriesProgressView which extends
LinearLayout and allows you to add View like below:
The project contains a short but comprehensive README along with sample app.
StoriesProgressView - show horizontal progress like instagram stories.
This library is a custom calendar which offers many features and UI modifications like:
- changing calendar orientation,
- setting custom text colours,
- setting selection types and colours,
- defining navigation buttons etc.,
- many more.
CosmoCalendar is a fully customizable calendar with a wide variety of features and displaying modes.
I hope everybody heard about Plaid app. This library developed by Shazam Engineering team, is a
port of Plaid’s ReflowText that allows easily transitioning between sibling TextViews — no matter their size or style.
The library is really easy to use, plug and play!
reflow-animator - A library for easily transitioning between sibling TextViews.
This app finds all installed apps supporting an adaptive icon and displays them in a grid. It then allows you to toggle different mask shapes (approximating how the icon might display on different devices) and explore visual effects may be applied. Currently offered:
Layer translation parallax based on scroll
Layer scale parallax based on touch
AdaptiveIconPlayground - An Android app for experimenting with Adaptive Icons.
Tivi is an application which tracks TV shows and it is connected to Track.tv. It is developed by Chris Banes. The work is still in progress but what is important, it uses the cutting-edge components, libraries and tools which includes: Kotlin, RxJava 2, usage of all of the Architecture Components (Room, LiveData and Lifecycle-components) and usage of dagger-android for dependency injection.
tivi - Tivi is a work-in-progress TV show tracking Android app, which connects to Trakt.tv. It is still in its early…
This is an
IdlingResource for Espresso which wraps an RxJava
Scheduler developed by Square Engineering. It supports RxJava 1 and RxJava 2 as well. Happy Instrumentation testing!
This is a rich text editor sample (based on summernote).
It supports many features, including: Bold, Italic, Underline, Strike-through, Headings (1, 2, 3, 4, 5, 6), Paragraph, Quote, (Un)Ordered List, Code, Horizontal Rule, Link, Image, Justify (Center, Fill, Left, Right), Subscript, Superscript, Font Name and Size, Indent, Outdent, Undo / Redo.
In this case you need to base on the sample app, as there is almost no documentation.
Reasons for creating this boilerplate:
To experiment with modularisation.
To share some approaches to clean architecture.
To use as a starting point in future projects where clean architecture feels appropriate.
The project is written 100% in Kotlin with both UI and Unit tests.
It is really well-documented and great for education purposes! 100% recommendation.
android-clean-architecture-boilerplate - An android boilerplate project using clean architecture
If you use RxJava, you know that sometimes it is difficult to read exceptions and find an issue in your Rx stream. And this is the reason why this library was created. You can read more about rational in README.
The library offers:
- stack trace generation,
- stack trace filtering.
Resizer is a lightweight and easy-to-use Android library for image scaling. It allows you to resize an image file to a smaller or bigger one while keeping the aspect ratio.
The library is inspired by Compressor library.
The library specification:
Minimum SDK: API 21
outputDirPath: the external files directory of your app
Supported input formats:
Supported output formats:
Supported quality range: 0~100
The higher value, the better image quality but larger file size
PNG, which is a lossless format, will ignore the quality setting
This library allows you to detect faces in real time on a camera preview. It greatly works with Fotoapparat library, but is supports also other camera libraries and sources.
The usage is simple and the project is quite well documented.
This is another library from Florent Champigny. It easily finds a current location for us. It is RxJava2 compatible. It also automatically asks for GPS runtime permissions and checks if play services are available for you.
MapMe is an Android library for working with Maps. MapMe brings the adapter pattern to Maps, simplifying the management of markers and annotations.
MapMe works with Google Maps and Mapbox. README is comprehensive and the library is written in Kotlin.
This is a library for an easy gradient management.
You can use it in Java or in Kotlin. Documentation is short but enough to start with ease.
co.revely.gradient - An Android library for easy gradient management
This is a library written in Kotlin, which helps to eliminate boilerplate from your code. Currently it offers:
- RecyclerUtils — Remove the need to make an adapter everytime, set up recycler adapter in as little as 4 lines.
- ScrollUtils — Easily hide/show FloationActionButton on scroll when using RecyclerView or NestedScrollView.
- ToastUtils — Creating toasts are just a function away.
- SPUtils — Simple DSL for Shared Preferences.
- ValidatorUtils — Fast and simple text validation.
- LogUtils — Simple and easy android logging.
LiteUtilities - Speed up your android development by removing boilerplate code
KOIN is a dependency injection framework that uses Kotlin and its functional power to get things done!
According to the author, there is:
- No proxy/CGLib,
- No code generation,
- No introspection
Its documentation is really good, with examples and wiki. There are also contact information (even with Slack).
Minimalistic Optional type for Kotlin that tries to fit its null-safe type system as smooth as possible.
Rationale according to authors:
We don’t think that Kotlin itself needs
Optionalbecause it has strong null-safe type system that effectively eliminates need in such a wrapper. However there are APIs and libraries like RxJava 2 which don't accept
We also think that in many cases you can use
sealed classes to express absent values, however in simple cases like passing
String?through Rx stream
Optionalis a more convenient solution.
For more go to their Github.
koptional - Minimalistic Optional type for Kotlin that tries to fit its null-safe type system as smooth as possible.
This is an easy parallax
View for Android simulating Apple TV App Icons.
README is really good and worthy to check.
Droid-vizu aims to provide customised visualisation effects by easily swapping Renderer to get cool effects
droid-vizu - Droid-vizu aims to provide customized visualization effects by easily swapping Renderer to get cool…
This is not the Android library but a library manager delivered by César Ferreira. It was written due to jealousy of the node.js community for their fast and reliable dependency managers. So instead of googling a library, checking it, reading docs etc., you just do:
drone add creator/library module
drone add jakewharton/butterknife
The documentation is really good and this is really worthy to check.
This is a project covering creating neat UI on Android. This time, Saúl Molinero covers:
- using ShapeShifter tool by Alex Lockwood
- Adaptive Icons and more.
It is a truly great lecture!
Contribute to From-design-to-Android-part2 development by creating an account on GitHub.
Reagent is a Jake Wharton place for experiments for future reactive libraries. Should you use it? No.