Awesome Open Source
Awesome Open Source


Mr. Alfonz is here to help you build your Android app, make the development process easier and avoid boilerplate code.

When I develop Android apps, I often repeat the same code. I use the same utilities or helper classes. I decided to pack these classes into a library and that's how Alfonz was born. Alfonz's grandpa is my collection of templates and utilities.

Alfonz is a multi purpose library split into small modules (something like Android Jetpack). Some of them depend on other modules or 3rd party libraries (RxJava, Retrofit, OkHttp), but in general I try to keep Alfonz simple and independent from other libs as much as possible. Alfonz is written in Java, but it's fully compatible with Kotlin as well.

Alfonz logo


  • adapter - generic adapters for RecyclerView or ViewPager with data binding support
  • arch - base classes for MVVM architecture (based on Architecture Components)
  • graphics - utilities for working with bitmaps and drawables
  • media - utilities for working with images, sounds and videos
  • rest - helper classes for managing REST API calls
  • rx - helper classes for managing RxJava observables and subscriptions
  • utility - bunch of miscellaneous utilities
  • view - collection of custom views and layouts


Samples can be found in the samples app module. You can also check Stocks project - experimental Android app with MVVM architecture. It uses most of the Alfonz's modules.


implementation "org.alfonz:alfonz-adapter:0.9.2"
implementation "org.alfonz:alfonz-arch:0.9.2"
implementation "org.alfonz:alfonz-graphics:0.9.2"
implementation "org.alfonz:alfonz-media:0.9.2"
implementation "org.alfonz:alfonz-rest:0.9.2"
implementation "org.alfonz:alfonz-rx:0.9.2"
implementation "org.alfonz:alfonz-utility:0.9.2"
implementation "org.alfonz:alfonz-view:0.9.2"

Artifacts are available in JCenter repository. Alfonz requires at minimum Android 4.4 (API level 19).

Developed by

Petr Nohejl
Tomáš Mlynarič


Copyright 2016 Petr Nohejl
Copyright 2016 Tomáš Mlynarič

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
See the License for the specific language governing permissions and
limitations under the License.

Get A Weekly Email With Trending Projects For These Topics
No Spam. Unsubscribe easily at any time.
java (31,735
android (6,459
rest-api (568
architecture (355
mvvm (343
rxjava (332
utilities (111
mvvm-architecture (111
android-architecture (106
retrofit (96
architecture-components (65
adapter (65
helpers (36
data-binding (25