How to check in ViewTreeObserver.OnScrollChangedListener() wether scroll finished, is IDLE?

I need to know when user initiated scroll has finished, but have no clue, how to access this info. ViewTreeObserver.OnScrollChangedListener() has only one abstract method onScrollChanged, but has no public void onScrollStateChanged(RecyclerView recyclerView, int newState) sort of abstract method with state argument.

horizontalScrollView.getViewTreeObserver().addOnScrollChangedListener(new ViewTreeObserver.OnScrollChangedListener() {          @Override         public void onScrollChanged() {          }     }); 


Category: java Time: 2016-07-31 Views: 70

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development


Front-end development


development tools

Open Platform

Javascript development

.NET development

cloud computing


Copyright (C), All Rights Reserved.

processed in 0.776 (s). 13 q(s)