Android: scroll event detection for EditText

I'm having problems with a seemingly very simple thing: I want to run code every time a user (or program) scrolls EditText up or down, just like the TextChanged listener allows you to run code every time a user or program changes text. Is it possible? Thanks!

+4
source share
1 answer

Try expanding EditText and overriding:

onScrollChanged (int l, int t, int oldl, int oldt)

which is inherited from TextView.

+6
source

All Articles