is ScrollView Attach - Android User Interface

Android examples for User Interface:ScrollView

Description

is ScrollView Attach

Demo Code


//package com.java2s;

import android.widget.ScrollView;

public class Main {
    public static boolean isScrollViewAttach(ScrollView scrollView) {
        if (scrollView != null) {
            if (scrollView.getScrollY() > 0) {
                return false;
            }/*from   w w  w  . j  a  v  a  2 s. c  o m*/
        }
        return true;
    }
}

Related Tutorials