How to detect whether a scroll view in android is scrollable or not-ThrowExceptions

Exception or error:

In my code I used to scroll view. But it only gets active when elements of the screen are more than the screen size . I want to know if the scroll view is scrollable. our the elements of the fragment is more than the size of the screen or that view.

How to solve:

Leave a Reply

Your email address will not be published. Required fields are marked *