ksoichiro / Android-ObservableScrollView

Android library to observe scroll events on scrollable views.
http://ksoichiro.github.io/Android-ObservableScrollView/
Apache License 2.0
9.65k stars 2.06k forks source link

ObervableGridView: loss of performance since 1.6 #199

Open vincentnock opened 8 years ago

vincentnock commented 8 years ago

I've updated le library from 1.5.2 to 1.6, and I experience a loss of performance. It seems that onScrollChangedis not called as much times as before, during a fast scroll.

This leads to a desynchronization between the gridView and my view listening to its position.

Any idea of what have changed to cause that ?

ksoichiro commented 8 years ago

Oh no... thanks for your report. ObservableGridView has a lot of changes in this update, so perhaps it might be related to that. I should look into it. Do you have any evidence for that? (Movie, log, etc.)

vincentnock commented 8 years ago

Sorry for the late answer. Here is a video showing the problem:

ezgif com-optimize

If you need any more information, feel free to ask.

ksoichiro commented 8 years ago

Thanks! I'll look into it.