@Override public void onScroll(AbsListView view, int firstVisibleItem, int visibleItemCount,
          int totalItemCount) {
        //Hack to avoid problems with the scroll position when auto scroll is disabled. This hack
        // is needed because Android notify a firstVisibleItem one position before it should be.
        if (lastScrollPosition - firstVisibleItem != 1) {
          lastScrollPosition = firstVisibleItem;
        }
        int lastVisiblePositionInTheList = firstVisibleItem + visibleItemCount;
        presenter.onScrollToPosition(lastVisiblePositionInTheList);
      }
Hack to change EditText cursor color even if the API level is lower than 12. Please, don't do
this at home.
lynx/src/main/java/com/github/pedrovgs/lynx/LynxView.java