I’m happy to share with you my new article at @AT&T Israel R&D Center Medium blog >>> https://bit.ly/2Noc2SO
The default logging solution is minimal, and I believe that most of us have already written a wrapper class and copied it from project to project.
Originally I created my Logging library in Java and recently I converted it to Kotlin. Now I want to share it with you.
library
My Logger library – Kotlin version
Almost in all my projects during the last five years, I used my custom logging library. But Koltin language has come and finally, I wrote it in Kotlin.
GitHub: https://github.com/Pulimet/MyLogLibrary
Indicators library
Recently, I created a custom view, and after having used it for several of my projects, I decided to publish it as a library.
How to use it: https://github.com/Pulimet/Indicators-Library
<net.alexandroid.utils.indicators.IndicatorsView android:id="@+id/indicatorsView" android:layout_width="wrap_content" android:layout_height="wrap_content" app:indicatorSize="20dp" app:paddingBetweenIndicators="16dp" app:selectedDrawable="@drawable/custom_selected" app:unSelectedDrawable="@drawable/custom_unselected"/>
Gps Detector Library
What does the library do for you?
- It checks whether GPS is enabled in your device. If it’s already enabled – you’ll be informed about it.
- In case that GPS is disabled, a dialog will appear (as can be seen on the right). Once you press “accept”, the GPS will be turned on.
The library speeds up the GPS enabling process, by sparing the user to change the settings in the android system.
So, let’s figure out how to use it.
Shared preferences wrapper library
I’ve just updated the library that will make your interaction with Shared Preferences easier.
Check it out here: https://github.com/Pulimet/ShPref-Library
P.S. I would be more than glad to receive your feedback. Feel free to write comments featuring questions, requests or bug reports (hopefully none)!
Generate Java Objects from JSON
http://www.jsonschema2pojo.org/
Very useful tool when you need to fetch data from REST API with Retrofit library.
Great example how it used with RxJava: https://youtu.be/JCLZ55M2gVo?t=35m53s
Retrolambda – Backport of lambdas
Retrolambda allows to use lambda expressions on Java 7, 6 and 5.
RxJava magic on Android
RxJava – a library for composing asynchronous and event-based programs by using observable sequences.
Three useful android libraries
The most useful libraries for me lately is:
- Picasso – A powerful image downloading and caching library for Android.
- Butterknife – Field and method binding for Android views.
- EventBus – Simplifies the communication between components and makes your code simple.