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.
Libraries
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
Picasso vs Glide vs Coil
Points of comparison:
- Methods count
- Size
- GIF support
GitHub links and versions I used: Picasso, Glide, Coil. (2.71828, 4.9.0, 0.6.1)
Release date: Picasso and Glide were first released in 2013. And Coil is very young, released on 12 August 2019.
Methods count
How many methods each of them will add to your project (proguard enabled):
Dagger 2
Simple and funny tutorial about dependency injection library Dagger 2.
In other words, manually managing the dependency injection is like, mining the dragon glass — taking permission from the dragon queen and then forging them as weapons and then to go and fight with the White Walkers (hard dependency issues). Dagger 2 framework is like the valyrian swords — it’s been created by masters and all you need is to just wield it.
https://medium.com/@harivigneshjayapalan/dagger-2-for-android-beginners-introduction-be6580cb3edb
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)!
Retrolambda – Backport of lambdas
Retrolambda allows to use lambda expressions on Java 7, 6 and 5.
- 1
- 2