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() {          }     }); 

Replay

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

Related post

iOS development

Android development

Python development

JAVA development

Development language

PHP development

Ruby development

search

Front-end development

Database

development tools

Open Platform

Javascript development

.NET development

cloud computing

server

Copyright (C) avrocks.com, All Rights Reserved.

processed in 0.194 (s). 12 q(s)