Using Picasso in Kotlin

Caching images in android is key for performance issues. We can write our own AsyncTask to manage it well or use Picasso with one-line of code:

When we develop our app in Kotlin we can make it smarter using Extension Properties.

Continue reading “Using Picasso in Kotlin”

Sending Android Logs with Live Templates in IntelliJ IDEA & Android Studio

As professional developers we are constantly looking  for productive tips to save our precious time. IntelliJ IDEA comes with many tricks and shortcuts. One of them are Live Templates.

Live templates are predefined code fragments, which allow us to code faster and finally to become more productive. We can create our custom live templates and edit existing.

Continue reading “Sending Android Logs with Live Templates in IntelliJ IDEA & Android Studio”

Formatting float in each platform in libGDX

If you found a problem with formatting float in GWT I am presenting a solution similar to described here in official libGDX wiki page (based on interfacing with platform specific code).

As you have probably noticed String.format() is not supported by GWT. We need to use alternative class NumberFormat from gwt client library, which is a simple replacement.

Continue reading “Formatting float in each platform in libGDX”