March 09, 2016

Android Dashboards - March 7th

Latest statistics about version of Android available on developer.android.com as usual. We can see KitKat keeps losing its users and from other side here is stable progress for Lollipop and Marshmallow. It's a very good reason to switch for minSdkVersion=19.

I've realized that page "Android Dashboards" needs another set of data in section "Screen Sizes and Densities".

March 08, 2016

Составной итератор. Java

Представьте, что у вас есть две коллекции объектов разного типа. Обе коллекции отсортированы по какому-то правилу. Вам нужно обойти обе коллекции, сохраняя порядок сортировки. Как, например, здесь:
Я хочу поделиться простой, но эффективной техникой использования интерфейсов Iterator и Iterable.

Composite Iterator. Java

Imagine you have two collections of different types of data. Both of them are sorted by any rule. You need to iterate over both of collections, saving the order they are sorted. Like this:
I want to share simple, but effective technique of using interfaces Iterator and Iterable.

March 01, 2016

Привет, мир!

Нашёл неплохой трюк, как сделать свой блог доступным на нескольких языках. Буду стараться публиковать статьи на нескольких языках одновременно.

Если такого рода публикации будут популярны, то я добавлю переводы для своих старых записей.

Посмотрим, что из этого получится. Следите за обновлениями, всем спасибо!

How to move object following sine curve in Unity?

Today I solved little task of moving objects following given direction. In my case it was sine curve.